Class: Producteev::Dashboards
- Inherits:
-
Object
- Object
- Producteev::Dashboards
- Defined in:
- lib/producteev/dashboards.rb
Instance Method Summary collapse
- #access(options = {}) ⇒ Object
- #confirm(options = {}) ⇒ Object
- #create(options = {}) ⇒ Object
- #delete(options = {}) ⇒ Object
-
#initialize(token) ⇒ Dashboards
constructor
A new instance of Dashboards.
- #invite_user_by_email(options = {}) ⇒ Object
- #invite_user_by_id(options = {}) ⇒ Object
- #leave(options = {}) ⇒ Object
- #need_upgrade_list(options = {}) ⇒ Object
- #needs_upgrade(options = {}) ⇒ Object
- #refuse(options = {}) ⇒ Object
- #reorder(options = {}) ⇒ Object
- #set_smart_labels(options = {}) ⇒ Object
- #set_title(options = {}) ⇒ Object
- #show_list(options = {}) ⇒ Object
- #tasks(options = {}) ⇒ Object
- #view(options = {}) ⇒ Object
Constructor Details
#initialize(token) ⇒ Dashboards
Returns a new instance of Dashboards.
3 4 5 |
# File 'lib/producteev/dashboards.rb', line 3 def initialize(token) @token = token end |
Instance Method Details
#access(options = {}) ⇒ Object
19 20 21 |
# File 'lib/producteev/dashboards.rb', line 19 def access( = {}) return Producteev::Api.instance.send_request("/dashboards/access.json",,@token) end |
#confirm(options = {}) ⇒ Object
43 44 45 |
# File 'lib/producteev/dashboards.rb', line 43 def confirm( = {}) return Producteev::Api.instance.send_request("/dashboards/confirm.json",,@token) end |
#create(options = {}) ⇒ Object
7 8 9 |
# File 'lib/producteev/dashboards.rb', line 7 def create( = {}) return Producteev::Api.instance.send_request("/dashboards/create.json",,@token) end |
#delete(options = {}) ⇒ Object
35 36 37 |
# File 'lib/producteev/dashboards.rb', line 35 def delete( = {}) return Producteev::Api.instance.send_request("/dashboards/delete.json",,@token) end |
#invite_user_by_email(options = {}) ⇒ Object
55 56 57 |
# File 'lib/producteev/dashboards.rb', line 55 def invite_user_by_email( = {}) return Producteev::Api.instance.send_request("/dashboards/invite_user_by_email.json",,@token) end |
#invite_user_by_id(options = {}) ⇒ Object
51 52 53 |
# File 'lib/producteev/dashboards.rb', line 51 def invite_user_by_id( = {}) return Producteev::Api.instance.send_request("/dashboards/invite_user_by_id.json",,@token) end |
#leave(options = {}) ⇒ Object
23 24 25 |
# File 'lib/producteev/dashboards.rb', line 23 def leave( = {}) return Producteev::Api.instance.send_request("/dashboards/leave.json",,@token) end |
#need_upgrade_list(options = {}) ⇒ Object
59 60 61 |
# File 'lib/producteev/dashboards.rb', line 59 def need_upgrade_list( = {}) return Producteev::Api.instance.send_request("/dashboards/need_upgrade_list.json",,@token) end |
#needs_upgrade(options = {}) ⇒ Object
63 64 65 |
# File 'lib/producteev/dashboards.rb', line 63 def needs_upgrade( = {}) return Producteev::Api.instance.send_request("/dashboards/needs_upgrade.json",,@token) end |
#refuse(options = {}) ⇒ Object
47 48 49 |
# File 'lib/producteev/dashboards.rb', line 47 def refuse( = {}) return Producteev::Api.instance.send_request("/dashboards/refuse.json",,@token) end |
#reorder(options = {}) ⇒ Object
67 68 69 |
# File 'lib/producteev/dashboards.rb', line 67 def reorder( = {}) return Producteev::Api.instance.send_request("/dashboards/reorder.json",,@token) end |
#set_smart_labels(options = {}) ⇒ Object
31 32 33 |
# File 'lib/producteev/dashboards.rb', line 31 def set_smart_labels( = {}) return Producteev::Api.instance.send_request("/dashboards/set_smart_labels.json",,@token) end |
#set_title(options = {}) ⇒ Object
27 28 29 |
# File 'lib/producteev/dashboards.rb', line 27 def set_title( = {}) return Producteev::Api.instance.send_request("/dashboards/set_title.json",,@token) end |
#show_list(options = {}) ⇒ Object
15 16 17 |
# File 'lib/producteev/dashboards.rb', line 15 def show_list( = {}) return Producteev::Api.instance.send_request("/dashboards/show_list.json",,@token) end |
#tasks(options = {}) ⇒ Object
39 40 41 |
# File 'lib/producteev/dashboards.rb', line 39 def tasks( = {}) return Producteev::Api.instance.send_request("/dashboards/tasks.json",,@token) end |
#view(options = {}) ⇒ Object
11 12 13 |
# File 'lib/producteev/dashboards.rb', line 11 def view( = {}) return Producteev::Api.instance.send_request("/dashboards/view.json",,@token) end |