Class: ApioticsFactory::Configuration
- Inherits:
-
Object
- Object
- ApioticsFactory::Configuration
- Defined in:
- lib/apiotics_factory/configuration.rb
Instance Attribute Summary collapse
-
#interface_kinds ⇒ Object
Returns the value of attribute interface_kinds.
-
#portal ⇒ Object
Returns the value of attribute portal.
-
#private_key ⇒ Object
Returns the value of attribute private_key.
-
#public_key ⇒ Object
Returns the value of attribute public_key.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/apiotics_factory/configuration.rb', line 6 def initialize @public_key = nil @private_key = nil @portal = "https://portal.apiotics.com/" @interface_kinds = { "string" => "string", "text" => "string", "smallint" => "integer", "integer" => "integer", "bigint" => "integer", "float" => "float", "boolean" => "boolean", "enum" => "string", "json" => "json", "uint8_t" => "integer", "uint16_t" => "integer", "uint32_t" => "integer", "int16_t" => "integer", "int32_t" => "integer", "int64_t" => "integer" } end |
Instance Attribute Details
#interface_kinds ⇒ Object
Returns the value of attribute interface_kinds.
4 5 6 |
# File 'lib/apiotics_factory/configuration.rb', line 4 def interface_kinds @interface_kinds end |
#portal ⇒ Object
Returns the value of attribute portal.
4 5 6 |
# File 'lib/apiotics_factory/configuration.rb', line 4 def portal @portal end |
#private_key ⇒ Object
Returns the value of attribute private_key.
4 5 6 |
# File 'lib/apiotics_factory/configuration.rb', line 4 def private_key @private_key end |
#public_key ⇒ Object
Returns the value of attribute public_key.
4 5 6 |
# File 'lib/apiotics_factory/configuration.rb', line 4 def public_key @public_key end |