Class: UwsgiItClient::Deleter
- Inherits:
-
Object
- Object
- UwsgiItClient::Deleter
- Includes:
- HTTParty
- Defined in:
- lib/uwsgi_it_client/deleter.rb
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(url, body, auth_data) ⇒ Deleter
constructor
A new instance of Deleter.
Constructor Details
#initialize(url, body, auth_data) ⇒ Deleter
Returns a new instance of Deleter.
7 8 9 |
# File 'lib/uwsgi_it_client/deleter.rb', line 7 def initialize(url, body, auth_data) @result = delete url, body: body.to_json, basic_auth: auth_data end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
5 6 7 |
# File 'lib/uwsgi_it_client/deleter.rb', line 5 def result @result end |