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

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

Instance Method Summary collapse

Constructor Details

#initialize(hash) ⇒ ResponseWrapper

Returns a new instance of ResponseWrapper


83
84
85
# File 'lib/azure/storage/table/batch.rb', line 83

def initialize(hash)
  @hash = hash
end

Instance Method Details

#bodyObject


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

def body
  @hash[:body]
end

#status_codeObject


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

def status_code
  @hash[:status_code].to_i
end

#uriObject


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

def uri 
  @hash[:uri]
end