Sha256: f01e234e0fec6bc180b70f65f86293490e3002bd2f57392248210d6c1e95f6b3

Contents?: true

Size: 559 Bytes

Versions: 30

Compression:

Stored size: 559 Bytes

Contents

module GoTransverseTractApi

  module Service

    class ServicePrice < Common::ServiceBase

      class << self

        #
        # @param {Long} recurrence_period
        # @param {Hash} options
        #
        def find_by_recurrence_period recurrence_period, options={}
          return nil unless recurrence_period.present?

          params ||= GoTransverseTractApi::ApiData.new.get_query_params({recurrence_period: recurrence_period}, options)
          GoTransverseTractApi.get_response_for(self, params)
        end

      end

    end

  end

end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.14.0 lib/gotransverse-tract-api/service/service_price.rb
gotransverse-tract-api-0.13.0 lib/gotransverse-tract-api/service/service_price.rb
gotransverse-tract-api-0.12.0 lib/gotransverse-tract-api/service/service_price.rb
gotransverse-tract-api-0.11.2 lib/gotransverse-tract-api/service/service_price.rb
gotransverse-tract-api-0.11.1 lib/gotransverse-tract-api/service/service_price.rb
gotransverse-tract-api-0.11.0 lib/gotransverse-tract-api/service/service_price.rb
gotransverse-tract-api-0.10.0 lib/gotransverse-tract-api/service/service_price.rb
gotransverse-tract-api-0.9.2 lib/gotransverse-tract-api/service/service_price.rb
gotransverse-tract-api-0.9.1 lib/gotransverse-tract-api/service/service_price.rb
gotransverse-tract-api-0.9.0 lib/gotransverse-tract-api/service/service_price.rb