Sha256: a9fc1ed231347ce5bd49bcd9107dd88d85f20d212c889aee74458dff89175a0f

Contents?: true

Size: 470 Bytes

Versions: 7

Compression:

Stored size: 470 Bytes

Contents

module GoTransverseTractApi

  module Product

    class UsageRule

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

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

    end

  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.0.12 lib/gotransverse-tract-api/product/usage_rule.rb
gotransverse-tract-api-0.0.11 lib/gotransverse-tract-api/product/usage_rule.rb
gotransverse-tract-api-0.0.10 lib/gotransverse-tract-api/product/usage_rule.rb
gotransverse-tract-api-0.0.9 lib/gotransverse-tract-api/product/usage_rule.rb
gotransverse-tract-api-0.0.8 lib/gotransverse-tract-api/product/usage_rule.rb
gotransverse-tract-api-0.0.7 lib/gotransverse-tract-api/product/usage_rule.rb
gotransverse-tract-api-0.0.6 lib/gotransverse-tract-api/product/usage_rule.rb