Class: Azure::Table::Batch::ResponseWrapper

Inherits:
Object
  • Object
show all
Defined in:
lib/azure/table/batch.rb

Instance Method Summary collapse

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

#bodyObject



94
95
96
# File 'lib/azure/table/batch.rb', line 94

def body
  @hash[:body]
end

#status_codeObject



90
91
92
# File 'lib/azure/table/batch.rb', line 90

def status_code
  @hash[:status_code].to_i
end

#uriObject



86
87
88
# File 'lib/azure/table/batch.rb', line 86

def uri
  @hash[:uri]
end