class MasterCard::API::Locations::ATMLocations
Public Class Methods
query(criteria)
click to toggle source
# File lib/mastercard/api/locations/atmlocations.rb, line 65 def self.query(criteria) # #Query objects of type ATMLocations by id and optional criteria #@param [Dict] criteria #@return [ATMLocations] object representing the response. #@raise [APIException] an exception from the response status # return self.execute("b4e8cd17-d2d9-4b26-a33d-42f7100d775e",ATMLocations.new(criteria)) end
Protected Class Methods
getOperationConfig(uuid)
click to toggle source
# File lib/mastercard/api/locations/atmlocations.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/locations/atmlocations.rb, line 53 def self.getOperationMetadata() return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext()) end