class MasterCard::API::Maws::ABU

Public Class Methods

post(mapObj) click to toggle source
# File lib/mastercard/api/maws/abu.rb, line 60
def self.post(mapObj)
        #
        #Creates object of type ABU
        #
        #@param Dict mapObj, containing the required parameters to create a new object
        #@return [ABU] of the response of created instance.
        #@raise [APIException] an exception from the response status
        return self.execute("c64d3906-f38e-44a1-aeec-dd7be268076d", ABU.new(mapObj))
end

Protected Class Methods

getOperationConfig(operationUUID) click to toggle source
# File lib/mastercard/api/maws/abu.rb, line 46
def self.getOperationConfig(operationUUID)
        if @__store.key?(operationUUID)
                return @__store[operationUUID]
        end
        raise NotImplementedError.new("Invalid operationUUID supplied:"+ operationUUID)
end
getOperationMetadata() click to toggle source
# File lib/mastercard/api/maws/abu.rb, line 53
def self.getOperationMetadata()
        return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative())
end