Sha256: 196bdb6f09e1fa61ff4d6c52649b19fc022db0b3054e423ae1d485f415c1c2c3

Contents?: true

Size: 771 Bytes

Versions: 7

Compression:

Stored size: 771 Bytes

Contents

module GoTransverseTractApi

  module Order

    class PartyCategory

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

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

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

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

    end

  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.0.12 lib/gotransverse-tract-api/order/party_category.rb
gotransverse-tract-api-0.0.11 lib/gotransverse-tract-api/order/party_category.rb
gotransverse-tract-api-0.0.10 lib/gotransverse-tract-api/order/party_category.rb
gotransverse-tract-api-0.0.9 lib/gotransverse-tract-api/order/party_category.rb
gotransverse-tract-api-0.0.8 lib/gotransverse-tract-api/order/party_category.rb
gotransverse-tract-api-0.0.7 lib/gotransverse-tract-api/order/party_category.rb
gotransverse-tract-api-0.0.6 lib/gotransverse-tract-api/order/party_category.rb