Class: Hyperloop::Application
- Inherits:
-
Object
- Object
- Hyperloop::Application
- Extended by:
- React::IsomorphicHelpers::ClassMethods
- Defined in:
- lib/hyper-operation/boot.rb,
lib/hyper-operation/transport/client_drivers.rb
Overview
Client side handling of synchronization messages When a synchronization message comes in, the client will sync_dispatch We use ERB to determine the configuration and implement the appropriate client interface to sync_change or sync_destroy
Defined Under Namespace
Classes: Boot
Class Method Summary collapse
Class Method Details
.acting_user_id ⇒ Object
13 14 15 |
# File 'lib/hyper-operation/transport/client_drivers.rb', line 13 def self.acting_user_id ClientDrivers.opts[:acting_user_id] end |
.env ⇒ Object
22 23 24 25 |
# File 'lib/hyper-operation/transport/client_drivers.rb', line 22 def self.env @env = ClientDrivers.env unless @env @env end |
.production? ⇒ Boolean
27 28 29 |
# File 'lib/hyper-operation/transport/client_drivers.rb', line 27 def self.production? env == 'production' end |