Class: ChartMogul::Note Deprecated
- Inherits:
-
APIResource
- Object
- Object
- APIResource
- ChartMogul::Note
- Defined in:
- lib/chartmogul/note.rb
Overview
Use EntityNote instead. /v1/customer_notes is superseded by /v1/notes.
Constant Summary
Constants inherited from APIResource
APIResource::BACKOFF_FACTOR, APIResource::INTERVAL, APIResource::INTERVAL_RANDOMNESS, APIResource::MAX_INTERVAL, APIResource::RETRY_EXCEPTIONS, APIResource::RETRY_STATUSES, APIResource::THREAD_CONNECTION_KEY
Class Method Summary collapse
-
.all(options = {}) ⇒ Object
deprecated
Deprecated.
Use EntityNote.all instead.
-
.create!(attributes = {}) ⇒ Object
deprecated
Deprecated.
Use EntityNote.create! instead.
-
.destroy!(options = {}) ⇒ Object
deprecated
Deprecated.
Use EntityNote.destroy! instead.
-
.retrieve(uuid, options = {}) ⇒ Object
deprecated
Deprecated.
Use EntityNote.retrieve instead.
-
.update!(uuid, attributes = {}) ⇒ Object
deprecated
Deprecated.
Use EntityNote.update! instead.
Instance Method Summary collapse
-
#create! ⇒ Object
deprecated
Deprecated.
Use EntityNote#create! instead.
-
#destroy! ⇒ Object
deprecated
Deprecated.
Use EntityNote#destroy! instead.
-
#update! ⇒ Object
deprecated
Deprecated.
Use EntityNote#update! instead.
Methods included from API::Actions::Update
Methods included from API::Actions::Retrieve
Methods included from API::Actions::Destroy
Methods included from API::Actions::Create
Methods inherited from APIResource
build_connection, build_query_path, connection, custom_with_query_params!, #custom_with_query_params!, extract_query_params, #extract_query_params, handle_other_error, handle_request_error, handling_errors, immutable_keys, json_patch, json_post, json_put, #path_with_query_params, query_params, set_immutable_keys, set_resource_name, set_resource_path, set_resource_root_key, writeable_query_param
Class Method Details
.all(options = {}) ⇒ Object
Use EntityNote.all instead.
28 29 30 |
# File 'lib/chartmogul/note.rb', line 28 def self.all( = {}) Notes.all() end |
.create!(attributes = {}) ⇒ Object
Use EntityNote.create! instead.
33 34 35 36 |
# File 'lib/chartmogul/note.rb', line 33 def self.create!(attributes = {}) warn 'DEPRECATION WARNING: the method ChartMogul::Note.create! is deprecated. Use ChartMogul::EntityNote.create! instead.' super end |
.destroy!(options = {}) ⇒ Object
Use EntityNote.destroy! instead.
51 52 53 54 |
# File 'lib/chartmogul/note.rb', line 51 def self.destroy!( = {}) warn 'DEPRECATION WARNING: the method ChartMogul::Note.destroy! is deprecated. Use ChartMogul::EntityNote.destroy! instead.' super end |
.retrieve(uuid, options = {}) ⇒ Object
Use EntityNote.retrieve instead.
39 40 41 42 |
# File 'lib/chartmogul/note.rb', line 39 def self.retrieve(uuid, = {}) warn 'DEPRECATION WARNING: the method ChartMogul::Note.retrieve is deprecated. Use ChartMogul::EntityNote.retrieve instead.' super end |
.update!(uuid, attributes = {}) ⇒ Object
Use EntityNote.update! instead.
45 46 47 48 |
# File 'lib/chartmogul/note.rb', line 45 def self.update!(uuid, attributes = {}) warn 'DEPRECATION WARNING: the method ChartMogul::Note.update! is deprecated. Use ChartMogul::EntityNote.update! instead.' super end |
Instance Method Details
#create! ⇒ Object
Use EntityNote#create! instead.
57 58 59 60 |
# File 'lib/chartmogul/note.rb', line 57 def create! warn 'DEPRECATION WARNING: the method ChartMogul::Note#create! is deprecated. Use ChartMogul::EntityNote#create! instead.' super end |
#destroy! ⇒ Object
Use EntityNote#destroy! instead.
69 70 71 72 |
# File 'lib/chartmogul/note.rb', line 69 def destroy! warn 'DEPRECATION WARNING: the method ChartMogul::Note#destroy! is deprecated. Use ChartMogul::EntityNote#destroy! instead.' super end |
#update! ⇒ Object
Use EntityNote#update! instead.
63 64 65 66 |
# File 'lib/chartmogul/note.rb', line 63 def update! warn 'DEPRECATION WARNING: the method ChartMogul::Note#update! is deprecated. Use ChartMogul::EntityNote#update! instead.' super end |