Sha256: 901e270345ef49252cda58aa3a75170fb5894e00d2c03d8cdecb173ba0025c9a

Contents?: true

Size: 1.54 KB

Versions: 14

Compression:

Stored size: 1.54 KB

Contents

module GoTransverseTractApi

  module Service

    class ServicePrice

      class << self

        #
        # @param {Long} eid
        # @param {String} query_scope (default: 'SHALLOW')
        #
        def self.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 {Date} start_date
        # @param {String} query_scope (default: 'SHALLOW')
        #
        def find_by_start_date start_date, query_scope=nil
          GoTransverseTractApi.get_response_for(self, {start_date: start_date, queryScope: query_scope})
        end

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

        #
        # @param {Long} recurrence_period
        # @param {String} query_scope (default: 'SHALLOW')
        #
        def find_by_recurrence_period recurrence_period, query_scope=nil
          GoTransverseTractApi.get_response_for(self, {recurrence_period: recurrence_period, 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/service/service_price.rb
gotransverse-tract-api-0.7.3 lib/gotransverse-tract-api/service/service_price.rb
gotransverse-tract-api-0.7.2 lib/gotransverse-tract-api/service/service_price.rb
gotransverse-tract-api-0.7.1 lib/gotransverse-tract-api/service/service_price.rb
gotransverse-tract-api-0.7.0 lib/gotransverse-tract-api/service/service_price.rb
gotransverse-tract-api-0.6.7 lib/gotransverse-tract-api/service/service_price.rb
gotransverse-tract-api-0.6.6 lib/gotransverse-tract-api/service/service_price.rb
gotransverse-tract-api-0.6.5 lib/gotransverse-tract-api/service/service_price.rb
gotransverse-tract-api-0.6.4 lib/gotransverse-tract-api/service/service_price.rb
gotransverse-tract-api-0.6.3 lib/gotransverse-tract-api/service/service_price.rb
gotransverse-tract-api-0.6.2 lib/gotransverse-tract-api/service/service_price.rb
gotransverse-tract-api-0.6.1 lib/gotransverse-tract-api/service/service_price.rb
gotransverse-tract-api-0.6.0 lib/gotransverse-tract-api/service/service_price.rb
gotransverse-tract-api-0.5.3 lib/gotransverse-tract-api/service/service_price.rb