Module: BeelineIot::Methods

Included in:
Client, Client
Defined in:
lib/beeline_iot/methods.rb

Instance Method Summary collapse

Instance Method Details

#communication_plans(dashboard_id, params = {}) ⇒ Object



17
18
19
# File 'lib/beeline_iot/methods.rb', line 17

def communication_plans(dashboard_id, params = {})
  request(:post, "/api/v0/dashboards/#{dashboard_id}/communication_plans", params)
end

#get_sims(dashboard_id, sim_id, params = {}) ⇒ Object



9
10
11
# File 'lib/beeline_iot/methods.rb', line 9

def get_sims(dashboard_id, sim_id, params = {})
  request(:get, "/api/v0/dashboards/#{dashboard_id}/sim_cards/#{sim_id}", params)
end

#rate_plans(dashboard_id, params = {}) ⇒ Object



13
14
15
# File 'lib/beeline_iot/methods.rb', line 13

def rate_plans(dashboard_id, params = {})
  request(:post, "/api/v0/dashboards/#{dashboard_id}/rate_plans", params)
end

#sim_list(dashboard_id, params = {}) ⇒ Object



5
6
7
# File 'lib/beeline_iot/methods.rb', line 5

def sim_list(dashboard_id, params = {})
  request(:post, "/api/v0/dashboards/#{dashboard_id}/sim_cards/list_all_sim", params)
end