Class: Nervion::Post
- Inherits:
-
Object
show all
- Includes:
- Request
- Defined in:
- lib/nervion/request.rb
Instance Attribute Summary
Attributes included from Request
#oauth_params, #params
Instance Method Summary
collapse
Methods included from Request
#host, #initialize, #path, #port, #uri
Instance Method Details
#http_method ⇒ Object
74
75
76
|
# File 'lib/nervion/request.rb', line 74
def http_method
'POST'
end
|
#to_s ⇒ Object
70
71
72
|
# File 'lib/nervion/request.rb', line 70
def to_s
"#{request_line}\r\n#{.join("\r\n")}\r\n\r\n#{body}\r\n"
end
|