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

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

Instance Method Summary collapse

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

#bodyObject



78
79
80
# File 'table/lib/azure/storage/table/batch.rb', line 78

def body
  @hash[:body]
end

#status_codeObject



74
75
76
# File 'table/lib/azure/storage/table/batch.rb', line 74

def status_code
  @hash[:status_code].to_i
end

#uriObject



70
71
72
# File 'table/lib/azure/storage/table/batch.rb', line 70

def uri
  @hash[:uri]
end