Class: SigfoxApi::Client
- Inherits:
-
Object
- Object
- SigfoxApi::Client
- Includes:
- Device, DeviceType, Group, Tile
- Defined in:
- lib/sigfox_api/client.rb
Constant Summary collapse
- API_ENDPOINT =
'https://api.sigfox.com'
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
Methods included from Tile
#monarch, #monarch_kmz, #monarch_kmz_results, #public_operator_kmz
Methods included from Group
#create_group, #delete_group, #list_groups
Methods included from DeviceType
#create_callback, #create_device_type, #delete_callback, #delete_device_type, #device_type, #list_callback_errors, #list_callbacks, #list_device_types, #update_callback, #update_device_type
Methods included from Device
#disengage_seq_number, #list_devices, #suspend_multiple_devices
Constructor Details
#initialize(options = {}) ⇒ Client
Returns a new instance of Client.
22 23 24 25 |
# File 'lib/sigfox_api/client.rb', line 22 def initialize( = {}) @login = [:login] || ENV['SIGFOX_API_LOGIN_ID'] @password = [:password] || ENV['SIGFOX_API_PASSWORD'] end |