Class: MasterCard::API::Vending::Machine
- Inherits:
-
Core::Model::BaseObject
- Object
- Core::Model::BaseObject
- MasterCard::API::Vending::Machine
- Includes:
- Core::Model
- Defined in:
- lib/mastercard/api/vending/machine.rb
Class Method Summary collapse
Class Method Details
.listByCriteria(criteria = nil) ⇒ Object
60 61 62 63 64 65 66 67 68 69 70 71 72 |
# File 'lib/mastercard/api/vending/machine.rb', line 60 def self.listByCriteria(criteria = nil) # #List objects of type Machine # #@param Dict criteria #@return Array of Machine object matching the criteria. if criteria.nil? return self.execute("bd154914-a734-44a3-9791-65f0633a4af7",Machine.new) else return self.execute("bd154914-a734-44a3-9791-65f0633a4af7",Machine.new(criteria)) end end |