Class: Cb::Requests::State::Get
- Inherits:
-
Base
- Object
- Base
- Cb::Requests::State::Get
show all
- Defined in:
- lib/cb/requests/data_lists/state.rb
Instance Attribute Summary
Attributes inherited from Base
#args
Instance Method Summary
collapse
Methods inherited from Base
#body, #headers, #initialize
Instance Method Details
#base_uri ⇒ Object
17
18
19
|
# File 'lib/cb/requests/data_lists/state.rb', line 17
def base_uri
'https://www.careerbuilder.com'
end
|
#endpoint_uri ⇒ Object
21
22
23
|
# File 'lib/cb/requests/data_lists/state.rb', line 21
def endpoint_uri
Cb.configuration.uri_state_list
end
|
#http_method ⇒ Object
25
26
27
|
# File 'lib/cb/requests/data_lists/state.rb', line 25
def http_method
:get
end
|
#query ⇒ Object
29
30
31
32
33
34
|
# File 'lib/cb/requests/data_lists/state.rb', line 29
def query
{
countryCode: args[:country_code],
outputjson: true
}
end
|