Sha256: cf4d62373c9e090313792a8ff619baa6614f8bb23739dad49e78c651bbb93f1b

Contents?: true

Size: 462 Bytes

Versions: 27

Compression:

Stored size: 462 Bytes

Contents

module GoTransverseTractApi

  module Usage

    class RateTableEntry

      class << self

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

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

      end

    end

  end

end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.14.0 lib/gotransverse-tract-api/usage/rate_table_entry.rb
gotransverse-tract-api-0.13.0 lib/gotransverse-tract-api/usage/rate_table_entry.rb
gotransverse-tract-api-0.12.0 lib/gotransverse-tract-api/usage/rate_table_entry.rb
gotransverse-tract-api-0.11.2 lib/gotransverse-tract-api/usage/rate_table_entry.rb
gotransverse-tract-api-0.11.1 lib/gotransverse-tract-api/usage/rate_table_entry.rb
gotransverse-tract-api-0.11.0 lib/gotransverse-tract-api/usage/rate_table_entry.rb
gotransverse-tract-api-0.10.0 lib/gotransverse-tract-api/usage/rate_table_entry.rb