Sha256: 57f35e5894bf4a2994f33931e86bd34d6c3be7a5caf005e2079477d3f94c15fd

Contents?: true

Size: 614 Bytes

Versions: 12

Compression:

Stored size: 614 Bytes

Contents

module GoTransverseTractApi

  module Usage

    class UsageLookupTable

      class << self

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

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

        #
        # @param {String} status
        #
        def find_by_status status
          GoTransverseTractApi.get_response_for(self, {status: status})
        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.rb
gotransverse-tract-api-0.5.1 lib/gotransverse-tract-api/usage/usage_lookup_table.rb
gotransverse-tract-api-0.5.0 lib/gotransverse-tract-api/usage/usage_lookup_table.rb
gotransverse-tract-api-0.4.3 lib/gotransverse-tract-api/usage/usage_lookup_table.rb
gotransverse-tract-api-0.4.2 lib/gotransverse-tract-api/usage/usage_lookup_table.rb
gotransverse-tract-api-0.4.1 lib/gotransverse-tract-api/usage/usage_lookup_table.rb
gotransverse-tract-api-0.4.0 lib/gotransverse-tract-api/usage/usage_lookup_table.rb
gotransverse-tract-api-0.3.4 lib/gotransverse-tract-api/usage/usage_lookup_table.rb
gotransverse-tract-api-0.3.3 lib/gotransverse-tract-api/usage/usage_lookup_table.rb
gotransverse-tract-api-0.3.2 lib/gotransverse-tract-api/usage/usage_lookup_table.rb
gotransverse-tract-api-0.3.1 lib/gotransverse-tract-api/usage/usage_lookup_table.rb
gotransverse-tract-api-0.3.0 lib/gotransverse-tract-api/usage/usage_lookup_table.rb