Class: ByRobot::Company
- Inherits:
-
Object
- Object
- ByRobot::Company
- Defined in:
- lib/by_robot/company.rb
Class Method Summary collapse
- .get_companys(params = {}) ⇒ Object
- .get_phones(params = {}) ⇒ Object
- .get_robots(params = {}) ⇒ Object
Class Method Details
.get_companys(params = {}) ⇒ Object
5 6 7 |
# File 'lib/by_robot/company.rb', line 5 def self.get_companys(params={}) Request.get('/openapi/v1/company/getCompanys', params) end |
.get_phones(params = {}) ⇒ Object
9 10 11 12 |
# File 'lib/by_robot/company.rb', line 9 def self.get_phones(params={}) Request.check_required_params(params, %w(companyId)) Request.get('openapi/v1/company/getPhones', params) end |
.get_robots(params = {}) ⇒ Object
14 15 16 17 |
# File 'lib/by_robot/company.rb', line 14 def self.get_robots(params={}) Request.check_required_params(params, %w(companyId)) Request.get('openapi/v1/company/getRobots', params) end |