Module: NgpVan::Client::Notes
- Included in:
- NgpVan::Client
- Defined in:
- lib/ngp_van/client/notes.rb
Instance Method Summary collapse
- #note_categories(params: {}) ⇒ Object
- #note_category(id:, params: {}) ⇒ Object
- #note_category_types(params: {}) ⇒ Object
Instance Method Details
#note_categories(params: {}) ⇒ Object
10 11 12 |
# File 'lib/ngp_van/client/notes.rb', line 10 def note_categories(params: {}) get(path: 'notes/categories', params: params) end |
#note_category(id:, params: {}) ⇒ Object
14 15 16 17 |
# File 'lib/ngp_van/client/notes.rb', line 14 def note_category(id:, params: {}) verify_id(id) get(path: "notes/categories/#{id}", params: params) end |
#note_category_types(params: {}) ⇒ Object
6 7 8 |
# File 'lib/ngp_van/client/notes.rb', line 6 def note_category_types(params: {}) get(path: 'notes/categoryTypes', params: params) end |