class MasterCard::API::Crossborder::CardedRate
Public Class Methods
fXRatePull(criteria)
click to toggle source
# File lib/mastercard/api/crossborder/cardedrate.rb, line 65 def self.fXRatePull(criteria) # #Query objects of type CardedRate by id and optional criteria #@param [Dict] criteria #@return [CardedRate] object representing the response. #@raise [APIException] an exception from the response status # return self.execute("8c83298a-55f8-4b43-8e7d-960cfb1de60b",CardedRate.new(criteria)) end
Protected Class Methods
getOperationConfig(operationUUID)
click to toggle source
# File lib/mastercard/api/crossborder/cardedrate.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/crossborder/cardedrate.rb, line 53 def self.getOperationMetadata() return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext(), ResourceConfig.instance.getJsonNative(), ResourceConfig.instance.getContentTypeOverride()) end