class MasterCard::API::Vending::Approval
Public Class Methods
create(mapObj)
click to toggle source
# 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
Protected Class Methods
getOperationConfig(uuid)
click to toggle source
# File lib/mastercard/api/vending/approval.rb, line 46 def self.getOperationConfig(uuid) if @__store.key?(uuid) return @__store[uuid] end raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid) end
getOperationMetadata()
click to toggle source
# File lib/mastercard/api/vending/approval.rb, line 53 def self.getOperationMetadata() return OperationMetadata.new(SDKConfig.getVersion(), SDKConfig.getHost()) end
Public Instance Methods
update()
click to toggle source
# 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