Class: MasterCard::API::Qkr::Country

Inherits:
Core::Model::BaseObject
  • Object
show all
Includes:
Core::Model
Defined in:
lib/mastercard/api/qkr/country.rb

Class Method Summary collapse

Class Method Details

.query(criteria) ⇒ Object



65
66
67
68
69
70
71
72
73
74
# File 'lib/mastercard/api/qkr/country.rb', line 65

def self.query(criteria)
  #
  #Query objects of type Country by id and optional criteria
  #@param [Dict] criteria
  #@return [Country] object representing the response.
  #@raise [APIException] an exception from the response status
  #

  return self.execute("61696eb0-64bc-4a03-8986-adcabb840e9e",Country.new(criteria))
end