class MasterCard::API::McOn::Insurance
Public Class Methods
getInsuranceClaim(mapObj)
click to toggle source
# File lib/mastercard/api/mcon/insurance.rb, line 61 def self.getInsuranceClaim(mapObj) # #Creates object of type Insurance # #@param Dict mapObj, containing the required parameters to create a new object #@return [Insurance] of the response of created instance. #@raise [APIException] an exception from the response status return self.execute("fa4917ab-1a67-4948-a88d-cc7ba900662d", Insurance.new(mapObj)) end
tokenizeUserData(mapObj)
click to toggle source
# File lib/mastercard/api/mcon/insurance.rb, line 77 def self.tokenizeUserData(mapObj) # #Creates object of type Insurance # #@param Dict mapObj, containing the required parameters to create a new object #@return [Insurance] of the response of created instance. #@raise [APIException] an exception from the response status return self.execute("873b4853-2336-449f-a1a8-897ab39792b0", Insurance.new(mapObj)) end
Protected Class Methods
getOperationConfig(operationUUID)
click to toggle source
# File lib/mastercard/api/mcon/insurance.rb, line 47 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/mcon/insurance.rb, line 54 def self.getOperationMetadata() return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride()) end