robertgauld/osm

View on GitHub
lib/osm/sms.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method get_for_section has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def self.get_for_section(api, section, options={})
        require_access_to_section(api, section, options)
        section_id = section.to_i
        cache_key = ['sms_delivery_reports', section_id]

Severity: Minor
Found in lib/osm/sms.rb - About 1 hr to fix

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

        def self.send_sms(api, section, members, source_address, message)
    Severity: Minor
    Found in lib/osm/sms.rb - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status