Method: DaFace::Api::PushLog#initialize
- Defined in:
- lib/da_face/api/push_log.rb
#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 |