bennesp/telegramAPI

View on GitHub

Showing 3 of 3 total issues

Class TelegramAPI has 30 methods (exceeds 20 allowed). Consider refactoring.
Open

class TelegramAPI
  @@core = "https://api.telegram.org/bot"

  def initialize token
    @token = token
Severity: Minor
Found in lib/telegramAPI.rb - About 3 hrs to fix

    Method sendVenue has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      def sendVenue to, lat, long, title, address, options={}
    Severity: Minor
    Found in lib/telegramAPI.rb - About 45 mins to fix

      Method post has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

        def post api, name, path, to, options={}
      Severity: Minor
      Found in lib/telegramAPI.rb - About 35 mins to fix
        Severity
        Category
        Status
        Source
        Language