Module: Closeio::Client::SmartView
- Included in:
- Closeio::Client
- Defined in:
- lib/closeio/resources/smart_view.rb
Instance Method Summary collapse
- #create_smart_view(options = {}) ⇒ Object
- #delete_smart_view(id) ⇒ Object
- #find_smart_view(id) ⇒ Object
- #list_smart_views ⇒ Object
- #update_smart_view(id, options = {}) ⇒ Object
Instance Method Details
#create_smart_view(options = {}) ⇒ Object
12 13 14 |
# File 'lib/closeio/resources/smart_view.rb', line 12 def create_smart_view( = {}) post(smart_view_path, ) end |
#delete_smart_view(id) ⇒ Object
20 21 22 |
# File 'lib/closeio/resources/smart_view.rb', line 20 def delete_smart_view(id) delete(smart_view_path(id)) end |
#find_smart_view(id) ⇒ Object
8 9 10 |
# File 'lib/closeio/resources/smart_view.rb', line 8 def find_smart_view(id) get(smart_view_path(id)) end |
#list_smart_views ⇒ Object
4 5 6 |
# File 'lib/closeio/resources/smart_view.rb', line 4 def list_smart_views get(smart_view_path) end |
#update_smart_view(id, options = {}) ⇒ Object
16 17 18 |
# File 'lib/closeio/resources/smart_view.rb', line 16 def update_smart_view(id, = {}) put(smart_view_path(id), ) end |