Module: BeelineIot::Methods
Instance Method Summary collapse
- #communication_plans(dashboard_id, params = {}) ⇒ Object
- #get_sims(dashboard_id, sim_id, params = {}) ⇒ Object
- #rate_plans(dashboard_id, params = {}) ⇒ Object
- #sim_list(dashboard_id, params = {}) ⇒ Object
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 |