Module: Closeio::Client::SmartView

Included in:
Closeio::Client
Defined in:
lib/closeio/resources/smart_view.rb

Instance Method Summary collapse

Instance Method Details

#create_smart_view(options = {}) ⇒ Object



12
13
14
# File 'lib/closeio/resources/smart_view.rb', line 12

def create_smart_view(options = {})
  post(smart_view_path, options)
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_viewsObject



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, options = {})
  put(smart_view_path(id), options)
end