Class: ActiveProject::Resources::Project
- Inherits:
-
PersistableResource
- Object
- BaseResource
- PersistableResource
- ActiveProject::Resources::Project
- Defined in:
- lib/active_project/resources/project.rb
Overview
Represents a Project (e.g., Jira Project, Trello Board, Basecamp Project)
Instance Attribute Summary
Attributes inherited from BaseResource
#adapter, #attributes, #raw_data
Instance Method Summary collapse
-
#issues ⇒ AssociationProxy<Resources::Issue>
Returns an association proxy for accessing issues within this project.
Methods inherited from PersistableResource
#delete, #persisted?, #save, #update
Methods inherited from BaseResource
def_members, #initialize, #inspect, members, #method_missing, #respond_to_missing?, #to_h
Constructor Details
This class inherits a constructor from ActiveProject::Resources::BaseResource
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ActiveProject::Resources::BaseResource
Instance Method Details
#issues ⇒ AssociationProxy<Resources::Issue>
Returns an association proxy for accessing issues within this project.
12 13 14 |
# File 'lib/active_project/resources/project.rb', line 12 def issues AssociationProxy.new(owner: self, adapter: @adapter, association_name: :issues) end |