Class: SigfoxApi::Client

Inherits:
Object
  • Object
show all
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

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(options = {})
  @login = options[:login] || ENV['SIGFOX_API_LOGIN_ID']
  @password = options[:password] || ENV['SIGFOX_API_PASSWORD']
end