Class: TranslationCms::Api::Profile::Control
- Inherits:
-
Base
- Object
- JsonApiClient::Resource
- Base
- Base
- TranslationCms::Api::Profile::Control
show all
- Defined in:
- lib/translation_cms/api/profile/control.rb
Class Method Summary
collapse
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
Class Method Details
.drop ⇒ Object
12
13
14
|
# File 'lib/translation_cms/api/profile/control.rb', line 12
def drop
destroy(id: 'profile')
end
|
.path(*_args) ⇒ Object
8
9
10
|
# File 'lib/translation_cms/api/profile/control.rb', line 8
def path(*_args)
'customers'
end
|