Sha256: 47371e9b163db297780d9c69a81b6d7aee5f77b6e72508088f285a021e152fe6

Contents?: true

Size: 647 Bytes

Versions: 12

Compression:

Stored size: 647 Bytes

Contents

module GoTransverseTractApi

  module Usage

    class ServiceUsageRule

      class << self

        #
        # @param {Long} eid
        #
        def find_by_eid eid
          GoTransverseTractApi.get_response_for(self, {eid: eid})
        end

        #
        # @param {Long} service_eid
        #
        def find_by_service_eid service_eid
          GoTransverseTractApi.get_response_for(self, {service_eid: service_eid})
        end

        #
        # @param {String} status
        #
        def find_by_status status
          GoTransverseTractApi.get_response_for(self, {status: status})
        end

      end

    end

  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.5.2 lib/gotransverse-tract-api/usage/service_usage_rule.rb
gotransverse-tract-api-0.5.1 lib/gotransverse-tract-api/usage/service_usage_rule.rb
gotransverse-tract-api-0.5.0 lib/gotransverse-tract-api/usage/service_usage_rule.rb
gotransverse-tract-api-0.4.3 lib/gotransverse-tract-api/usage/service_usage_rule.rb
gotransverse-tract-api-0.4.2 lib/gotransverse-tract-api/usage/service_usage_rule.rb
gotransverse-tract-api-0.4.1 lib/gotransverse-tract-api/usage/service_usage_rule.rb
gotransverse-tract-api-0.4.0 lib/gotransverse-tract-api/usage/service_usage_rule.rb
gotransverse-tract-api-0.3.4 lib/gotransverse-tract-api/usage/service_usage_rule.rb
gotransverse-tract-api-0.3.3 lib/gotransverse-tract-api/usage/service_usage_rule.rb
gotransverse-tract-api-0.3.2 lib/gotransverse-tract-api/usage/service_usage_rule.rb
gotransverse-tract-api-0.3.1 lib/gotransverse-tract-api/usage/service_usage_rule.rb
gotransverse-tract-api-0.3.0 lib/gotransverse-tract-api/usage/service_usage_rule.rb