Class: ReadButton
- Inherits:
-
Scrivener
- Object
- Scrivener
- ReadButton
- Defined in:
- lib/shareprogress/filters/read_button.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#key ⇒ Object
Returns the value of attribute key.
Instance Method Summary collapse
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
2 3 4 |
# File 'lib/shareprogress/filters/read_button.rb', line 2 def id @id end |
#key ⇒ Object
Returns the value of attribute key.
2 3 4 |
# File 'lib/shareprogress/filters/read_button.rb', line 2 def key @key end |
Instance Method Details
#validate ⇒ Object
4 5 6 7 |
# File 'lib/shareprogress/filters/read_button.rb', line 4 def validate assert_present :key assert_present :id end |