Class: LoraRb::Configuration
- Inherits:
-
Object
- Object
- LoraRb::Configuration
- Defined in:
- lib/core/configuration.rb
Instance Attribute Summary collapse
-
#downlink_url ⇒ Object
attr_writer :allow_sign_up.
-
#env ⇒ Object
attr_writer :allow_sign_up.
-
#host ⇒ Object
attr_writer :allow_sign_up.
-
#port ⇒ Object
attr_writer :allow_sign_up.
-
#protocol ⇒ Object
attr_writer :allow_sign_up.
-
#ssl ⇒ Object
attr_writer :allow_sign_up.
-
#ssl_file ⇒ Object
attr_writer :allow_sign_up.
-
#uplink_url ⇒ Object
attr_writer :allow_sign_up.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 11 12 13 14 15 |
# File 'lib/core/configuration.rb', line 7 def initialize @protocol = nil @host = nil @port = nil @url = nil @ssl = nil # True if uses tls @ssl_file = nil # The certificate's path @env = 'development' end |
Instance Attribute Details
#downlink_url ⇒ Object
attr_writer :allow_sign_up
5 6 7 |
# File 'lib/core/configuration.rb', line 5 def downlink_url @downlink_url end |
#env ⇒ Object
attr_writer :allow_sign_up
5 6 7 |
# File 'lib/core/configuration.rb', line 5 def env @env end |
#host ⇒ Object
attr_writer :allow_sign_up
5 6 7 |
# File 'lib/core/configuration.rb', line 5 def host @host end |
#port ⇒ Object
attr_writer :allow_sign_up
5 6 7 |
# File 'lib/core/configuration.rb', line 5 def port @port end |
#protocol ⇒ Object
attr_writer :allow_sign_up
5 6 7 |
# File 'lib/core/configuration.rb', line 5 def protocol @protocol end |
#ssl ⇒ Object
attr_writer :allow_sign_up
5 6 7 |
# File 'lib/core/configuration.rb', line 5 def ssl @ssl end |
#ssl_file ⇒ Object
attr_writer :allow_sign_up
5 6 7 |
# File 'lib/core/configuration.rb', line 5 def ssl_file @ssl_file end |
#uplink_url ⇒ Object
attr_writer :allow_sign_up
5 6 7 |
# File 'lib/core/configuration.rb', line 5 def uplink_url @uplink_url end |