Class: GreenGoose::ActionCollection
- Inherits:
-
Object
- Object
- GreenGoose::ActionCollection
- Includes:
- API
- Defined in:
- lib/greengoose/action_collection.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#conditions ⇒ Object
readonly
Returns the value of attribute conditions.
Instance Method Summary collapse
- #endpoint ⇒ Object
-
#initialize(client, conditions = {}) ⇒ ActionCollection
constructor
A new instance of ActionCollection.
- #klass ⇒ Object
Methods included from API
Constructor Details
#initialize(client, conditions = {}) ⇒ ActionCollection
Returns a new instance of ActionCollection.
10 11 12 13 |
# File 'lib/greengoose/action_collection.rb', line 10 def initialize(client, conditions = {}) @client = client @conditions = conditions end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
8 9 10 |
# File 'lib/greengoose/action_collection.rb', line 8 def client @client end |
#conditions ⇒ Object (readonly)
Returns the value of attribute conditions.
8 9 10 |
# File 'lib/greengoose/action_collection.rb', line 8 def conditions @conditions end |
Instance Method Details
#endpoint ⇒ Object
19 20 21 |
# File 'lib/greengoose/action_collection.rb', line 19 def endpoint "actions" end |
#klass ⇒ Object
15 16 17 |
# File 'lib/greengoose/action_collection.rb', line 15 def klass GreenGoose::Action end |