Sha256: e62a0acaba35542332b444688ad5788957dc57226a2b2b4d5bbfeb1c909c0162

Contents?: true

Size: 859 Bytes

Versions: 12

Compression:

Stored size: 859 Bytes

Contents

module GoTransverseTractApi

  module Usage

    class UsageLookupTableEntry

      class << self

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

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

        #
        # @param {String} key
        #
        def find_by_key key
          GoTransverseTractApi.get_response_for(self, {key: key})
        end

        #
        # @param {String} value
        #
        def find_by_value value
          GoTransverseTractApi.get_response_for(self, {value: value})
        end

      end

    end

  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.5.2 lib/gotransverse-tract-api/usage/usage_lookup_table_entry.rb
gotransverse-tract-api-0.5.1 lib/gotransverse-tract-api/usage/usage_lookup_table_entry.rb
gotransverse-tract-api-0.5.0 lib/gotransverse-tract-api/usage/usage_lookup_table_entry.rb
gotransverse-tract-api-0.4.3 lib/gotransverse-tract-api/usage/usage_lookup_table_entry.rb
gotransverse-tract-api-0.4.2 lib/gotransverse-tract-api/usage/usage_lookup_table_entry.rb
gotransverse-tract-api-0.4.1 lib/gotransverse-tract-api/usage/usage_lookup_table_entry.rb
gotransverse-tract-api-0.4.0 lib/gotransverse-tract-api/usage/usage_lookup_table_entry.rb
gotransverse-tract-api-0.3.4 lib/gotransverse-tract-api/usage/usage_lookup_table_entry.rb
gotransverse-tract-api-0.3.3 lib/gotransverse-tract-api/usage/usage_lookup_table_entry.rb
gotransverse-tract-api-0.3.2 lib/gotransverse-tract-api/usage/usage_lookup_table_entry.rb
gotransverse-tract-api-0.3.1 lib/gotransverse-tract-api/usage/usage_lookup_table_entry.rb
gotransverse-tract-api-0.3.0 lib/gotransverse-tract-api/usage/usage_lookup_table_entry.rb