Class: Producteev::Dashboards

Inherits:
Object
  • Object
show all
Defined in:
lib/producteev/dashboards.rb

Instance Method Summary collapse

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(options = {})
  return Producteev::Api.instance.send_request("/dashboards/access.json",options,@token)
end

#confirm(options = {}) ⇒ Object



43
44
45
# File 'lib/producteev/dashboards.rb', line 43

def confirm(options = {})
  return Producteev::Api.instance.send_request("/dashboards/confirm.json",options,@token)
end

#create(options = {}) ⇒ Object



7
8
9
# File 'lib/producteev/dashboards.rb', line 7

def create(options = {})
  return Producteev::Api.instance.send_request("/dashboards/create.json",options,@token)
end

#delete(options = {}) ⇒ Object



35
36
37
# File 'lib/producteev/dashboards.rb', line 35

def delete(options = {})
  return Producteev::Api.instance.send_request("/dashboards/delete.json",options,@token)
end

#invite_user_by_email(options = {}) ⇒ Object



55
56
57
# File 'lib/producteev/dashboards.rb', line 55

def invite_user_by_email(options = {})
  return Producteev::Api.instance.send_request("/dashboards/invite_user_by_email.json",options,@token)
end

#invite_user_by_id(options = {}) ⇒ Object



51
52
53
# File 'lib/producteev/dashboards.rb', line 51

def invite_user_by_id(options = {})
  return Producteev::Api.instance.send_request("/dashboards/invite_user_by_id.json",options,@token)
end

#leave(options = {}) ⇒ Object



23
24
25
# File 'lib/producteev/dashboards.rb', line 23

def leave(options = {})
  return Producteev::Api.instance.send_request("/dashboards/leave.json",options,@token)
end

#need_upgrade_list(options = {}) ⇒ Object



59
60
61
# File 'lib/producteev/dashboards.rb', line 59

def need_upgrade_list(options = {})
  return Producteev::Api.instance.send_request("/dashboards/need_upgrade_list.json",options,@token)
end

#needs_upgrade(options = {}) ⇒ Object



63
64
65
# File 'lib/producteev/dashboards.rb', line 63

def needs_upgrade(options = {})
  return Producteev::Api.instance.send_request("/dashboards/needs_upgrade.json",options,@token)
end

#refuse(options = {}) ⇒ Object



47
48
49
# File 'lib/producteev/dashboards.rb', line 47

def refuse(options = {})
  return Producteev::Api.instance.send_request("/dashboards/refuse.json",options,@token)
end

#reorder(options = {}) ⇒ Object



67
68
69
# File 'lib/producteev/dashboards.rb', line 67

def reorder(options = {})
  return Producteev::Api.instance.send_request("/dashboards/reorder.json",options,@token)
end

#set_smart_labels(options = {}) ⇒ Object



31
32
33
# File 'lib/producteev/dashboards.rb', line 31

def set_smart_labels(options = {})
  return Producteev::Api.instance.send_request("/dashboards/set_smart_labels.json",options,@token)
end

#set_title(options = {}) ⇒ Object



27
28
29
# File 'lib/producteev/dashboards.rb', line 27

def set_title(options = {})
  return Producteev::Api.instance.send_request("/dashboards/set_title.json",options,@token)
end

#show_list(options = {}) ⇒ Object



15
16
17
# File 'lib/producteev/dashboards.rb', line 15

def show_list(options = {})
  return Producteev::Api.instance.send_request("/dashboards/show_list.json",options,@token)
end

#tasks(options = {}) ⇒ Object



39
40
41
# File 'lib/producteev/dashboards.rb', line 39

def tasks(options = {})
  return Producteev::Api.instance.send_request("/dashboards/tasks.json",options,@token)
end

#view(options = {}) ⇒ Object



11
12
13
# File 'lib/producteev/dashboards.rb', line 11

def view(options = {})
  return Producteev::Api.instance.send_request("/dashboards/view.json",options,@token)
end