Module: React::Config
Instance Method Summary collapse
Instance Method Details
#config ⇒ Object
11 12 13 |
# File 'lib/react/config/client.rb', line 11 def config @config ||= default_config end |
#default_config ⇒ Object
15 16 17 18 19 |
# File 'lib/react/config/client.rb', line 15 def default_config { environment: 'express' } end |
#environment=(value) ⇒ Object
7 8 9 |
# File 'lib/react/config/client.rb', line 7 def environment=(value) config[:environment] = value end |