Class: Neoway::Auth::Result
- Inherits:
-
Object
- Object
- Neoway::Auth::Result
- Defined in:
- lib/neoway/auth/result.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#request ⇒ Object
Returns the value of attribute request.
-
#status ⇒ Object
Returns the value of attribute status.
-
#time ⇒ Object
Returns the value of attribute time.
Instance Method Summary collapse
-
#initialize(body:, headers:, request:, status:, time:) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(body:, headers:, request:, status:, time:) ⇒ Result
Returns a new instance of Result.
8 9 10 11 12 13 14 |
# File 'lib/neoway/auth/result.rb', line 8 def initialize(body:, headers:, request:, status:, time:) @body = body @headers = headers @request = request @status = status @time = time end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
6 7 8 |
# File 'lib/neoway/auth/result.rb', line 6 def body @body end |
#headers ⇒ Object
Returns the value of attribute headers.
6 7 8 |
# File 'lib/neoway/auth/result.rb', line 6 def headers @headers end |
#request ⇒ Object
Returns the value of attribute request.
6 7 8 |
# File 'lib/neoway/auth/result.rb', line 6 def request @request end |
#status ⇒ Object
Returns the value of attribute status.
6 7 8 |
# File 'lib/neoway/auth/result.rb', line 6 def status @status end |
#time ⇒ Object
Returns the value of attribute time.
6 7 8 |
# File 'lib/neoway/auth/result.rb', line 6 def time @time end |