Class: Azure::Storage::Table::Batch::ResponseWrapper
- Inherits:
-
Object
- Object
- Azure::Storage::Table::Batch::ResponseWrapper
- Defined in:
- table/lib/azure/storage/table/batch.rb
Instance Method Summary collapse
- #body ⇒ Object
-
#initialize(hash) ⇒ ResponseWrapper
constructor
A new instance of ResponseWrapper.
- #status_code ⇒ Object
- #uri ⇒ Object
Constructor Details
#initialize(hash) ⇒ ResponseWrapper
Returns a new instance of ResponseWrapper.
66 67 68 |
# File 'table/lib/azure/storage/table/batch.rb', line 66 def initialize(hash) @hash = hash end |
Instance Method Details
#body ⇒ Object
78 79 80 |
# File 'table/lib/azure/storage/table/batch.rb', line 78 def body @hash[:body] end |
#status_code ⇒ Object
74 75 76 |
# File 'table/lib/azure/storage/table/batch.rb', line 74 def status_code @hash[:status_code].to_i end |
#uri ⇒ Object
70 71 72 |
# File 'table/lib/azure/storage/table/batch.rb', line 70 def uri @hash[:uri] end |