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