Class: GoogleDrive::ApiClientFetcher::Response
- Inherits:
-
Object
- Object
- GoogleDrive::ApiClientFetcher::Response
- Defined in:
- lib/google_drive/api_client_fetcher.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code, body) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(code, body) ⇒ Response
Returns a new instance of Response.
12 13 14 15 |
# File 'lib/google_drive/api_client_fetcher.rb', line 12 def initialize(code, body) @code = code @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
17 18 19 |
# File 'lib/google_drive/api_client_fetcher.rb', line 17 def body @body end |
#code ⇒ Object (readonly)
Returns the value of attribute code.
17 18 19 |
# File 'lib/google_drive/api_client_fetcher.rb', line 17 def code @code end |