Class: Cb::Requests::Application::Form
- Inherits:
-
Base
- Object
- Base
- Cb::Requests::Application::Form
show all
- Defined in:
- lib/cb/requests/application/form.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
17
18
19
|
# File 'lib/cb/requests/application/form.rb', line 17
def endpoint_uri
Cb.configuration.uri_application_form.sub ':did', @args[:application_did].to_s
end
|
25
26
27
28
29
30
31
|
# File 'lib/cb/requests/application/form.rb', line 25
def
{
'DeveloperKey' => Cb.configuration.dev_key,
'HostSite' => Cb.configuration.host_site,
'Content-Type' => 'application/json'
}
end
|
#http_method ⇒ Object
21
22
23
|
# File 'lib/cb/requests/application/form.rb', line 21
def http_method
:get
end
|