Class: Brocktail::API::Acts
- Includes:
- Behavior::Crud
- Defined in:
- lib/brocktail/api/acts.rb
Instance Attribute Summary collapse
-
#event_id ⇒ Object
readonly
Returns the value of attribute event_id.
Attributes inherited from Base
Instance Method Summary collapse
- #all ⇒ Object
-
#initialize(credentials, event_id) ⇒ Acts
constructor
A new instance of Acts.
Methods included from Behavior::Crud
Methods inherited from Base
Constructor Details
#initialize(credentials, event_id) ⇒ Acts
Returns a new instance of Acts.
10 11 12 13 |
# File 'lib/brocktail/api/acts.rb', line 10 def initialize(credentials, event_id) @event_id = event_id super(credentials) end |
Instance Attribute Details
#event_id ⇒ Object (readonly)
Returns the value of attribute event_id.
8 9 10 |
# File 'lib/brocktail/api/acts.rb', line 8 def event_id @event_id end |