Class: StrawberryAPI::ProjectFeedback

Inherits:
Feedback
  • Object
show all
Defined in:
lib/strawberry_api/feedback/project_feedback.rb

Instance Attribute Summary collapse

Attributes inherited from Feedback

#action, #created_at, #error, #id, #state, #updated_at

Instance Method Summary collapse

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_idObject

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_idObject

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