Class: Hover::Client::Hover
- Inherits:
-
HMAC
show all
- Defined in:
- lib/hover/client/hover.rb
Instance Attribute Summary
Attributes inherited from HMAC
#client_id, #client_secret
Attributes inherited from HTTP
#prefix, #site
Instance Method Summary
collapse
Methods inherited from HMAC
#authenticate, #initialize
Methods inherited from HTTP
#authenticate, #delete, #get, #get_redirect_location, #initialize, #make_form_request, #make_request, #make_uri, #parse_response, #patch, #post, #put, #raise_errors, #raise_errors_for_cloudfront_response
Instance Method Details
#json_delete(*args) ⇒ Object
23
24
25
|
# File 'lib/hover/client/hover.rb', line 23
def json_delete(*args)
parse_response(delete(*args))
end
|
#json_get(*args) ⇒ Object
7
8
9
|
# File 'lib/hover/client/hover.rb', line 7
def json_get(*args)
parse_response(get(*args))
end
|
#json_patch(*args) ⇒ Object
19
20
21
|
# File 'lib/hover/client/hover.rb', line 19
def json_patch(*args)
parse_response(patch(*args))
end
|
#json_post(*args) ⇒ Object
15
16
17
|
# File 'lib/hover/client/hover.rb', line 15
def json_post(*args)
parse_response(post(*args))
end
|
#json_put(*args) ⇒ Object
11
12
13
|
# File 'lib/hover/client/hover.rb', line 11
def json_put(*args)
parse_response(put(*args))
end
|