Class: Homeflow::API::Put
- Inherits:
-
Post
- Object
- RequestSpecification
- Post
- Homeflow::API::Put
- Defined in:
- lib/homeflow/api/put.rb
Instance Attribute Summary collapse
-
#resource_uri ⇒ Object
Returns the value of attribute resource_uri.
Instance Method Summary collapse
-
#initialize(resource_uri, params = {}, put_params = {}) ⇒ Put
constructor
A new instance of Put.
- #post_params ⇒ Object
- #to_params ⇒ Object
Constructor Details
#initialize(resource_uri, params = {}, put_params = {}) ⇒ Put
Returns a new instance of Put.
8 9 10 11 12 |
# File 'lib/homeflow/api/put.rb', line 8 def initialize(resource_uri, params = {}, put_params = {}) @resource_uri = resource_uri @params = params @put_params = put_params end |
Instance Attribute Details
#resource_uri ⇒ Object
Returns the value of attribute resource_uri.
6 7 8 |
# File 'lib/homeflow/api/put.rb', line 6 def resource_uri @resource_uri end |
Instance Method Details
#post_params ⇒ Object
14 15 16 |
# File 'lib/homeflow/api/put.rb', line 14 def post_params @put_params end |
#to_params ⇒ Object
18 19 20 |
# File 'lib/homeflow/api/put.rb', line 18 def to_params @params end |