Class: Esignatur::Api::RequestInfo
- Inherits:
-
Object
- Object
- Esignatur::Api::RequestInfo
- Defined in:
- lib/esignatur/api/request_info.rb
Overview
api response wrapper
Instance Attribute Summary collapse
-
#headers ⇒ Object
readonly
Returns the value of attribute headers.
-
#http_method ⇒ Object
readonly
Returns the value of attribute http_method.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(http_method, url, headers) ⇒ RequestInfo
constructor
A new instance of RequestInfo.
Constructor Details
#initialize(http_method, url, headers) ⇒ RequestInfo
Returns a new instance of RequestInfo.
9 10 11 12 13 |
# File 'lib/esignatur/api/request_info.rb', line 9 def initialize(http_method, url, headers) @url = url @headers = headers @http_method = http_method end |
Instance Attribute Details
#headers ⇒ Object (readonly)
Returns the value of attribute headers.
7 8 9 |
# File 'lib/esignatur/api/request_info.rb', line 7 def headers @headers end |
#http_method ⇒ Object (readonly)
Returns the value of attribute http_method.
7 8 9 |
# File 'lib/esignatur/api/request_info.rb', line 7 def http_method @http_method end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
7 8 9 |
# File 'lib/esignatur/api/request_info.rb', line 7 def url @url end |