Sha256: d66eb88b6f6bb0bb0c1df09484f1aa39f9c278d11dc9e5b96de6563541fc8dc0

Contents?: true

Size: 472 Bytes

Versions: 30

Compression:

Stored size: 472 Bytes

Contents

module GoTransverseTractApi

  module Order

    class PartyCategory < Common::Base

      #
      # @param {String} description
      # @param {Hash} options
      #
      def self.find_by_description description, options={}
        return nil unless description.present?

        params ||= GoTransverseTractApi::ApiData.new.get_query_params({description: description}, options)
        GoTransverseTractApi.get_response_for(self, params)
      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/order/party_category.rb
gotransverse-tract-api-0.13.0 lib/gotransverse-tract-api/order/party_category.rb
gotransverse-tract-api-0.12.0 lib/gotransverse-tract-api/order/party_category.rb
gotransverse-tract-api-0.11.2 lib/gotransverse-tract-api/order/party_category.rb
gotransverse-tract-api-0.11.1 lib/gotransverse-tract-api/order/party_category.rb
gotransverse-tract-api-0.11.0 lib/gotransverse-tract-api/order/party_category.rb
gotransverse-tract-api-0.10.0 lib/gotransverse-tract-api/order/party_category.rb
gotransverse-tract-api-0.9.2 lib/gotransverse-tract-api/order/party_category.rb
gotransverse-tract-api-0.9.1 lib/gotransverse-tract-api/order/party_category.rb
gotransverse-tract-api-0.9.0 lib/gotransverse-tract-api/order/party_category.rb