Class: Microclimate::Snapshot

Inherits:
Base
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/microclimate/snapshot.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#connection, #host

Constructor Details

#initialize(data) ⇒ Snapshot

Returns a new instance of Snapshot.



7
8
9
# File 'lib/microclimate/snapshot.rb', line 7

def initialize(data)
  @data = data
end

Instance Attribute Details

#dataObject

Returns the value of attribute data.



4
5
6
# File 'lib/microclimate/snapshot.rb', line 4

def data
  @data
end