Sha256: 5c15ac59b83f3da66cf772b7d4b06ba2451b2873a5939060f9d605a3567b38b0

Contents?: true

Size: 950 Bytes

Versions: 14

Compression:

Stored size: 950 Bytes

Contents

module GoTransverseTractApi

  module Usage

    class ServiceUsageRule

      class << self

        #
        # @param {Long} eid
        # @param {String} query_scope (default: 'SHALLOW')
        #
        def find_by_eid eid, query_scope=nil
          GoTransverseTractApi.get_response_for(self, {eid: eid, queryScope: query_scope})
        end

        #
        # @param {Long} service_eid
        # @param {String} query_scope (default: 'SHALLOW')
        #
        def find_by_service_eid service_eid, query_scope=nil
          GoTransverseTractApi.get_response_for(self, {service_eid: service_eid, queryScope: query_scope})
        end

        #
        # @param {String} status
        # @param {String} query_scope (default: 'SHALLOW')
        #
        def find_by_status status, query_scope=nil
          GoTransverseTractApi.get_response_for(self, {status: status, queryScope: query_scope})
        end

      end

    end

  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.7.4 lib/gotransverse-tract-api/usage/service_usage_rule.rb
gotransverse-tract-api-0.7.3 lib/gotransverse-tract-api/usage/service_usage_rule.rb
gotransverse-tract-api-0.7.2 lib/gotransverse-tract-api/usage/service_usage_rule.rb
gotransverse-tract-api-0.7.1 lib/gotransverse-tract-api/usage/service_usage_rule.rb
gotransverse-tract-api-0.7.0 lib/gotransverse-tract-api/usage/service_usage_rule.rb
gotransverse-tract-api-0.6.7 lib/gotransverse-tract-api/usage/service_usage_rule.rb
gotransverse-tract-api-0.6.6 lib/gotransverse-tract-api/usage/service_usage_rule.rb
gotransverse-tract-api-0.6.5 lib/gotransverse-tract-api/usage/service_usage_rule.rb
gotransverse-tract-api-0.6.4 lib/gotransverse-tract-api/usage/service_usage_rule.rb
gotransverse-tract-api-0.6.3 lib/gotransverse-tract-api/usage/service_usage_rule.rb
gotransverse-tract-api-0.6.2 lib/gotransverse-tract-api/usage/service_usage_rule.rb
gotransverse-tract-api-0.6.1 lib/gotransverse-tract-api/usage/service_usage_rule.rb
gotransverse-tract-api-0.6.0 lib/gotransverse-tract-api/usage/service_usage_rule.rb
gotransverse-tract-api-0.5.3 lib/gotransverse-tract-api/usage/service_usage_rule.rb