lib/hyper_resource/modules/http.rb
## POSTs the given attributes to this resource's href, and returns
## the response resource.
POSTs the given attributes to this resource's href, and returns
the response resource.
POSTs the given attributes to this resource ' s href and returns the response resource .
def post(attrs=nil)
        attrs || self.attributes
        self.response = faraday_connection.post do |req|
          req.body = adapter.serialize(attrs)
        end
        finish_up
      end
def post ( attrs = nil ) attrs || self . attributes self . response = faraday_connection . post do | req | req . body = adapter . serialize ( attrs ) end finish_up end
POSTs the given attributes to this resource's href, and returns
the response resource.
POSTs the given attributes to this resource ' s href and returns the response resource .
attrs