Sha256: b970238d56057a2f2ee4a25bd95d48702f2d7fc49dc5c26958368293e1e86a1b

Contents?: true

Size: 835 Bytes

Versions: 28

Compression:

Stored size: 835 Bytes

Contents

module GoTransverseTractApi

  module Order

    class PartyCategory

      def self.find_all
        GoTransverseTractApi.get_response_for(self)
      end

      #
      # @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

28 entries across 28 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.1.10 lib/gotransverse-tract-api/order/party_category.rb
gotransverse-tract-api-0.1.9 lib/gotransverse-tract-api/order/party_category.rb
gotransverse-tract-api-0.1.8 lib/gotransverse-tract-api/order/party_category.rb
gotransverse-tract-api-0.1.7 lib/gotransverse-tract-api/order/party_category.rb
gotransverse-tract-api-0.1.6 lib/gotransverse-tract-api/order/party_category.rb
gotransverse-tract-api-0.1.5 lib/gotransverse-tract-api/order/party_category.rb
gotransverse-tract-api-0.1.4 lib/gotransverse-tract-api/order/party_category.rb
gotransverse-tract-api-0.1.3 lib/gotransverse-tract-api/order/party_category.rb