Class: MasterCard::API::Mastercom::Queues

Inherits:
Core::Model::BaseObject
  • Object
show all
Includes:
Core::Model
Defined in:
lib/mastercard/api/mastercom/queues.rb

Class Method Summary collapse

Class Method Details

.retrieveClaimsFromQueue(criteria = nil) ⇒ Object



63
64
65
66
67
68
69
70
71
72
73
74
75
76
# File 'lib/mastercard/api/mastercom/queues.rb', line 63

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("c38eb634-23a1-4238-92cf-3c37494d2d29",Queues.new)
    else
        return self.execute("c38eb634-23a1-4238-92cf-3c37494d2d29",Queues.new(criteria))
    end
end

.retrieveQueueNames(criteria = nil) ⇒ Object



83
84
85
86
87
88
89
90
91
92
93
94
95
96
# File 'lib/mastercard/api/mastercom/queues.rb', line 83

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("e6f1a528-b5a9-4608-933a-69f9f36d090c",Queues.new)
    else
        return self.execute("e6f1a528-b5a9-4608-933a-69f9f36d090c",Queues.new(criteria))
    end
end