Class: StrawberryAPI::ProjectFeedback
- Defined in:
- lib/strawberry_api/feedback/project_feedback.rb
Instance Attribute Summary collapse
-
#edit_id ⇒ Object
Returns the value of attribute edit_id.
-
#project_id ⇒ Object
Returns the value of attribute project_id.
Attributes inherited from Feedback
#action, #created_at, #error, #id, #state, #updated_at
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ ProjectFeedback
constructor
A new instance of ProjectFeedback.
Constructor Details
#initialize(params = {}) ⇒ ProjectFeedback
Returns a new instance of ProjectFeedback
8 9 10 11 12 |
# File 'lib/strawberry_api/feedback/project_feedback.rb', line 8 def initialize(params = {}) params.each do |k, v| instance_variable_set("@#{k}", v) unless v.nil? end end |
Instance Attribute Details
#edit_id ⇒ Object
Returns the value of attribute edit_id
5 6 7 |
# File 'lib/strawberry_api/feedback/project_feedback.rb', line 5 def edit_id @edit_id end |
#project_id ⇒ Object
Returns the value of attribute project_id
6 7 8 |
# File 'lib/strawberry_api/feedback/project_feedback.rb', line 6 def project_id @project_id end |