PDaily/lita-destiny

View on GitHub

Showing 1 of 1 total issue

Method build_poe_message has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def build_poe_message(level, response)
        # Set up our client
        destiny_client = Destiny::Client.new(api_key)
        # Returns:
        # {"activityHash"=>3508129769, "iconPath"=>"/img/destiny_content/arena/32_challenge.v2.png",
Severity: Minor
Found in lib/lita/handlers/destiny.rb - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language