Class: Cb::Requests::AnonymousSavedSearch::Delete
- Inherits:
-
Base
- Object
- Base
- Cb::Requests::AnonymousSavedSearch::Delete
show all
- Defined in:
- lib/cb/requests/anonymous_saved_search/delete.rb
Instance Attribute Summary
Attributes inherited from Base
#args
Instance Method Summary
collapse
Methods inherited from Base
#base_uri, #headers, #initialize, #query
Instance Method Details
#body ⇒ Object
25
26
27
28
29
30
31
32
33
|
# File 'lib/cb/requests/anonymous_saved_search/delete.rb', line 25
def body
" <Request>\n <ExternalID>\#{args[:external_id]}</ExternalID>\n <DeveloperKey>\#{Cb.configuration.dev_key}</DeveloperKey>\n <Test>\#{test?}</Test>\n </Request>\n eos\nend\n"
|
#endpoint_uri ⇒ Object
17
18
19
|
# File 'lib/cb/requests/anonymous_saved_search/delete.rb', line 17
def endpoint_uri
Cb.configuration.uri_anon_saved_search_delete
end
|
#http_method ⇒ Object
21
22
23
|
# File 'lib/cb/requests/anonymous_saved_search/delete.rb', line 21
def http_method
:post
end
|