Class: Eyeson::Snapshot
- Inherits:
-
Object
- Object
- Eyeson::Snapshot
- Defined in:
- lib/eyeson/snapshot.rb
Overview
Get room snapshots
Defined Under Namespace
Classes: NotFound
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Class Method Summary collapse
Instance Method Summary collapse
- #delete ⇒ Object
-
#initialize(id, url) ⇒ Snapshot
constructor
A new instance of Snapshot.
Constructor Details
#initialize(id, url) ⇒ Snapshot
Returns a new instance of Snapshot.
9 10 11 12 |
# File 'lib/eyeson/snapshot.rb', line 9 def initialize(id, url) @id = id @url = url end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
7 8 9 |
# File 'lib/eyeson/snapshot.rb', line 7 def id @id end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
7 8 9 |
# File 'lib/eyeson/snapshot.rb', line 7 def url @url end |