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
7
8
9
|
# File 'lib/cb/requests/data_lists/state.rb', line 7
def base_uri
'https://www.careerbuilder.com'
end
|
#endpoint_uri ⇒ Object
11
12
13
|
# File 'lib/cb/requests/data_lists/state.rb', line 11
def endpoint_uri
Cb.configuration.uri_state_list
end
|
#http_method ⇒ Object
15
16
17
|
# File 'lib/cb/requests/data_lists/state.rb', line 15
def http_method
:get
end
|
#query ⇒ Object
19
20
21
22
23
24
|
# File 'lib/cb/requests/data_lists/state.rb', line 19
def query
{
countryCode: args[:country_code],
outputjson: true
}
end
|