Class: Azure::Table::Batch::ResponseWrapper
- Inherits:
-
Object
- Object
- Azure::Table::Batch::ResponseWrapper
- Defined in:
- lib/azure/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.
83 84 85 |
# File 'lib/azure/table/batch.rb', line 83 def initialize(hash) @hash = hash end |
Instance Method Details
#body ⇒ Object
95 96 97 |
# File 'lib/azure/table/batch.rb', line 95 def body @hash[:body] end |
#status_code ⇒ Object
91 92 93 |
# File 'lib/azure/table/batch.rb', line 91 def status_code @hash[:status_code].to_i end |
#uri ⇒ Object
87 88 89 |
# File 'lib/azure/table/batch.rb', line 87 def uri @hash[:uri] end |