Class: MoxiworksPlatform::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/moxiworks_platform/config.rb

Overview

moxiworks_platform SDK configurable attributes

adjustment of these should not be required unless you are debugging an issue or are using an alternate configuration for connecting to Moxi Works Platform

Class Attribute Summary collapse

Class Attribute Details

.debugBoolean

whether to print debugging info about Moxi Works Platform requests to the console

Modification of this attribute should not be needed unless you are debugging or developing for Moxi Works Platform Ruby SDK

Returns:

  • (Boolean)

26
27
28
# File 'lib/moxiworks_platform/config.rb', line 26

def debug
  @debug
end

.urlString

The Moxi Works Platform base URL. default is 'api.moxiworks.com'

Modification of this attribute should not be needed unless you are debugging or developing for Moxi Works Platform Ruby SDK

Returns:

  • (String)

17
18
19
# File 'lib/moxiworks_platform/config.rb', line 17

def url
  @url
end