Sha256: 3b5267d4d8bd6fafa4592f50227b2cd0b0a230f800e02736ac5e4d70155bcdc9

Contents?: true

Size: 747 Bytes

Versions: 6

Compression:

Stored size: 747 Bytes

Contents

module GoTransverseTractApi

  module Order

    class PartyCategory

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

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

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

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

    end

  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.1.2 lib/gotransverse-tract-api/order/party_category.rb
gotransverse-tract-api-0.1.1 lib/gotransverse-tract-api/order/party_category.rb
gotransverse-tract-api-0.1.0 lib/gotransverse-tract-api/order/party_category.rb
gotransverse-tract-api-0.0.15 lib/gotransverse-tract-api/order/party_category.rb
gotransverse-tract-api-0.0.14 lib/gotransverse-tract-api/order/party_category.rb
gotransverse-tract-api-0.0.13 lib/gotransverse-tract-api/order/party_category.rb