Class: MasterCard::API::Mastercom::Queues
- Inherits:
-
Core::Model::BaseObject
- Object
- Core::Model::BaseObject
- MasterCard::API::Mastercom::Queues
- Includes:
- Core::Model
- Defined in:
- lib/mastercard/api/mastercom/queues.rb
Class Method Summary collapse
- .retrieveClaimsFromQueue(criteria = nil) ⇒ Object
- .retrieveClaimsFromQueueWithDateInterval(mapObj) ⇒ Object
- .retrieveQueueNames(criteria = nil) ⇒ Object
Class Method Details
.retrieveClaimsFromQueue(criteria = nil) ⇒ Object
64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
# File 'lib/mastercard/api/mastercom/queues.rb', line 64 def self.retrieveClaimsFromQueue(criteria = nil) # #List objects of type Queues # #@param [Dict] criteria #@return Array [Queues] object matching the criteria. #@raise [APIException] an exception from the response status if criteria.nil? return self.execute("228a66d5-b6db-4045-8aa6-c212f87a506d",Queues.new) else return self.execute("228a66d5-b6db-4045-8aa6-c212f87a506d",Queues.new(criteria)) end end |
.retrieveClaimsFromQueueWithDateInterval(mapObj) ⇒ Object
82 83 84 85 86 87 88 89 90 |
# File 'lib/mastercard/api/mastercom/queues.rb', line 82 def self.retrieveClaimsFromQueueWithDateInterval(mapObj) # #Creates object of type Queues # #@param Dict mapObj, containing the required parameters to create a new object #@return [Queues] of the response of created instance. #@raise [APIException] an exception from the response status return self.execute("62a84f98-0ac5-41a7-b134-969420806817", Queues.new(mapObj)) end |
.retrieveQueueNames(criteria = nil) ⇒ Object
100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
# File 'lib/mastercard/api/mastercom/queues.rb', line 100 def self.retrieveQueueNames(criteria = nil) # #List objects of type Queues # #@param [Dict] criteria #@return Array [Queues] object matching the criteria. #@raise [APIException] an exception from the response status if criteria.nil? return self.execute("bbecac2b-5a38-40ae-a929-358254795900",Queues.new) else return self.execute("bbecac2b-5a38-40ae-a929-358254795900",Queues.new(criteria)) end end |