Class: DaFace::Api::PushLog
- Inherits:
-
Object
- Object
- DaFace::Api::PushLog
- Defined in:
- lib/da_face/api/push_log.rb
Instance Attribute Summary collapse
-
#count ⇒ Object
readonly
Returns the value of attribute count.
-
#entries ⇒ Object
readonly
Returns the value of attribute entries.
Instance Method Summary collapse
-
#initialize(data) ⇒ PushLog
constructor
A new instance of PushLog.
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
#count ⇒ Object (readonly)
Returns the value of attribute count.
4 5 6 |
# File 'lib/da_face/api/push_log.rb', line 4 def count @count end |
#entries ⇒ Object (readonly)
Returns the value of attribute entries.
4 5 6 |
# File 'lib/da_face/api/push_log.rb', line 4 def entries @entries end |