Exception: AzureBlob::Http::Error
- Defined in:
- lib/azure_blob/http.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(body: nil, status: nil) ⇒ Error
constructor
A new instance of Error.
- #inspect ⇒ Object
Constructor Details
#initialize(body: nil, status: nil) ⇒ Error
Returns a new instance of Error.
12 13 14 15 |
# File 'lib/azure_blob/http.rb', line 12 def initialize(body: nil, status: nil) @body = body @status = status end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
11 12 13 |
# File 'lib/azure_blob/http.rb', line 11 def body @body end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
11 12 13 |
# File 'lib/azure_blob/http.rb', line 11 def status @status end |
Instance Method Details
#inspect ⇒ Object
17 18 19 |
# File 'lib/azure_blob/http.rb', line 17 def inspect @body end |