Sha256: 0cd009ac808e6649cab9426e7ec90e0b1d6580f95c7edf6f5d134b7e7ee865f4

Contents?: true

Size: 738 Bytes

Versions: 14

Compression:

Stored size: 738 Bytes

Contents

module GoTransverseTractApi

  module Usage

    class UsagePriceCategory

      class << self

        def find_by_all 
          GoTransverseTractApi.get_response_for(self)
        end

        #
        # @param {Long} eid
        # @param {String} query_scope (default: 'SHALLOW')
        #
        def find_by_eid eid, query_scope=nil
          GoTransverseTractApi.get_response_for(self, {eid: eid, queryScope: query_scope})
        end

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