Class: Cb::Requests::DataLists::CountryCodes
- Inherits:
-
Base
- Object
- Base
- Cb::Requests::DataLists::CountryCodes
show all
- Defined in:
- lib/cb/requests/data_lists/country_codes.rb
Instance Attribute Summary
Attributes inherited from Base
#args
Instance Method Summary
collapse
Methods inherited from Base
#base_uri, #body, #initialize, #query
Instance Method Details
#endpoint_uri ⇒ Object
7
8
9
|
# File 'lib/cb/requests/data_lists/country_codes.rb', line 7
def endpoint_uri
Cb.configuration.uri_country_codes
end
|
15
16
17
18
19
20
|
# File 'lib/cb/requests/data_lists/country_codes.rb', line 15
def
{
'DeveloperKey' => Cb.configuration.dev_key,
'Content-Type' => 'application/xml'
}
end
|
#http_method ⇒ Object
11
12
13
|
# File 'lib/cb/requests/data_lists/country_codes.rb', line 11
def http_method
:get
end
|