Class: DaFace::Api::PushLog

Inherits:
Object
  • Object
show all
Defined in:
lib/da_face/api/push_log.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ PushLog

Returns a new instance of PushLog.



5
6
7
8
# File 'lib/da_face/api/push_log.rb', line 5

def initialize data
  @count = data[:count]
  @entries = data[:log_entries].collect{|e| DaFace::Api::PushLogEntry.new(e)}
end

Instance Attribute Details

#countObject (readonly)

Returns the value of attribute count.



4
5
6
# File 'lib/da_face/api/push_log.rb', line 4

def count
  @count
end

#entriesObject (readonly)

Returns the value of attribute entries.



4
5
6
# File 'lib/da_face/api/push_log.rb', line 4

def entries
  @entries
end