Class: TranslationCms::Api::Customers::Writer

Inherits:
Writer
  • Object
show all
Defined in:
lib/translation_cms/api/customers/writer.rb

Instance Method Summary collapse

Methods inherited from Writer

#dst_languages, #languages, #native_language, #parsed_created_at

Methods inherited from Base

all!, custom_scope!, default_attributes, destroy, dummy_resource!, #method_missing_with_translations_will_change, parsed!, path_with_custom_scope, resource_type!, update

Instance Method Details

#writer_feedbacks(params = {}) ⇒ Object



18
19
20
21
22
# File 'lib/translation_cms/api/customers/writer.rb', line 18

def writer_feedbacks(params = {})
  writer = TranslationCms::Api::Writer.new(params.merge(id: writer_id))
  writer.mark_as_persisted!
  writer.feedbacks(params)
end