Class: Trello::AssociationFetcher::HasMany
- Inherits:
-
Object
- Object
- Trello::AssociationFetcher::HasMany
- Defined in:
- lib/trello/association_fetcher/has_many.rb,
lib/trello/association_fetcher/has_many/fetch.rb,
lib/trello/association_fetcher/has_many/params.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#model ⇒ Object
readonly
Returns the value of attribute model.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
- #fetch(filter_params) ⇒ Object
-
#initialize(model, name, options) ⇒ HasMany
constructor
A new instance of HasMany.
Constructor Details
#initialize(model, name, options) ⇒ HasMany
Returns a new instance of HasMany.
9 10 11 12 13 |
# File 'lib/trello/association_fetcher/has_many.rb', line 9 def initialize(model, name, ) @model = model @name = name @options = end |
Instance Attribute Details
#model ⇒ Object (readonly)
Returns the value of attribute model.
7 8 9 |
# File 'lib/trello/association_fetcher/has_many.rb', line 7 def model @model end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/trello/association_fetcher/has_many.rb', line 7 def name @name end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
7 8 9 |
# File 'lib/trello/association_fetcher/has_many.rb', line 7 def @options end |