Class: MasterCard::API::Vending::Approval
- Inherits:
-
Core::Model::BaseObject
- Object
- Core::Model::BaseObject
- MasterCard::API::Vending::Approval
- Includes:
- Core::Model
- Defined in:
- lib/mastercard/api/vending/approval.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.create(mapObj) ⇒ Object
59 60 61 62 63 64 65 66 67 |
# File 'lib/mastercard/api/vending/approval.rb', line 59 def self.create(mapObj) # #Creates object of type Approval # #@param Dict mapObj, containing the required parameters to create a new object #@return Approval of the response of created instance. # return self.execute("4e99f333-c39b-42a7-b5cb-4e166d631674", Approval.new(mapObj)) end |
Instance Method Details
#update ⇒ Object
75 76 77 78 79 80 81 82 |
# File 'lib/mastercard/api/vending/approval.rb', line 75 def update # #Updates an object of type Approval # #@return Approval object representing the response. # return self.class.execute("3037cbcf-702b-4fb9-adaa-3642da7c379d",self) end |