Sha256: d197c0b7cffce5143c4f366f8694f7ebe8eed02e5a35e00a9cfcc9fc8a0d7871

Contents?: true

Size: 1.05 KB

Versions: 27

Compression:

Stored size: 1.05 KB

Contents

module GoTransverseTractApi

  module Service

    class ServicePrice

      class << self

        #
        # @param {Long} eid
        #
        def self.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 {Date} start_date
        #
        def find_by_start_date start_date
          GoTransverseTractApi.get_response_for(self, {start_date: start_date})
        end

        #
        # @param {Date} end_date
        #
        def find_by_end_date end_date
          GoTransverseTractApi.get_response_for(self, {end_date: end_date})
        end

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

      end

    end

  end

end

Version data entries

27 entries across 27 versions & 1 rubygems

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