Class: LicenseKit::RawResponse
- Inherits:
-
Object
- Object
- LicenseKit::RawResponse
- Defined in:
- lib/licensekit/types.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#headers ⇒ Object
readonly
Returns the value of attribute headers.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status:, headers:, data:, response:, body:) ⇒ RawResponse
constructor
A new instance of RawResponse.
Constructor Details
#initialize(status:, headers:, data:, response:, body:) ⇒ RawResponse
Returns a new instance of RawResponse.
23 24 25 26 27 28 29 |
# File 'lib/licensekit/types.rb', line 23 def initialize(status:, headers:, data:, response:, body:) @status = status @headers = headers @data = data @response = response @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
21 22 23 |
# File 'lib/licensekit/types.rb', line 21 def body @body end |
#data ⇒ Object (readonly)
Returns the value of attribute data.
21 22 23 |
# File 'lib/licensekit/types.rb', line 21 def data @data end |
#headers ⇒ Object (readonly)
Returns the value of attribute headers.
21 22 23 |
# File 'lib/licensekit/types.rb', line 21 def headers @headers end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
21 22 23 |
# File 'lib/licensekit/types.rb', line 21 def response @response end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
21 22 23 |
# File 'lib/licensekit/types.rb', line 21 def status @status end |