Sha256: a468e5ffd4a4a9f337b92aebf7a5b5dcb7eda8adad4c0addc1be0946f0305c64

Contents?: true

Size: 458 Bytes

Versions: 34

Compression:

Stored size: 458 Bytes

Contents

module GoTransverseTractApi

  module Product

    class UsageRule

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

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

    end

  end

end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.5.2 lib/gotransverse-tract-api/product/usage_rule.rb
gotransverse-tract-api-0.5.1 lib/gotransverse-tract-api/product/usage_rule.rb
gotransverse-tract-api-0.5.0 lib/gotransverse-tract-api/product/usage_rule.rb
gotransverse-tract-api-0.4.3 lib/gotransverse-tract-api/product/usage_rule.rb
gotransverse-tract-api-0.4.2 lib/gotransverse-tract-api/product/usage_rule.rb
gotransverse-tract-api-0.4.1 lib/gotransverse-tract-api/product/usage_rule.rb
gotransverse-tract-api-0.4.0 lib/gotransverse-tract-api/product/usage_rule.rb
gotransverse-tract-api-0.3.4 lib/gotransverse-tract-api/product/usage_rule.rb
gotransverse-tract-api-0.3.3 lib/gotransverse-tract-api/product/usage_rule.rb
gotransverse-tract-api-0.3.2 lib/gotransverse-tract-api/product/usage_rule.rb
gotransverse-tract-api-0.3.1 lib/gotransverse-tract-api/product/usage_rule.rb
gotransverse-tract-api-0.3.0 lib/gotransverse-tract-api/product/usage_rule.rb
gotransverse-tract-api-0.2.5 lib/gotransverse-tract-api/product/usage_rule.rb
gotransverse-tract-api-0.2.4 lib/gotransverse-tract-api/product/usage_rule.rb
gotransverse-tract-api-0.2.3 lib/gotransverse-tract-api/product/usage_rule.rb
gotransverse-tract-api-0.2.2 lib/gotransverse-tract-api/product/usage_rule.rb
gotransverse-tract-api-0.2.1 lib/gotransverse-tract-api/product/usage_rule.rb
gotransverse-tract-api-0.2.0 lib/gotransverse-tract-api/product/usage_rule.rb
gotransverse-tract-api-0.1.12 lib/gotransverse-tract-api/product/usage_rule.rb
gotransverse-tract-api-0.1.11 lib/gotransverse-tract-api/product/usage_rule.rb