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.
82 83 84 |
# File 'lib/azure/table/batch.rb', line 82 def initialize(hash) @hash = hash end |
Instance Method Details
#body ⇒ Object
94 95 96 |
# File 'lib/azure/table/batch.rb', line 94 def body @hash[:body] end |
#status_code ⇒ Object
90 91 92 |
# File 'lib/azure/table/batch.rb', line 90 def status_code @hash[:status_code].to_i end |
#uri ⇒ Object
86 87 88 |
# File 'lib/azure/table/batch.rb', line 86 def uri @hash[:uri] end |