Class: EmberCli::Deploy::Redis
- Inherits:
-
Object
- Object
- EmberCli::Deploy::Redis
- Defined in:
- lib/ember_cli/deploy/redis.rb,
lib/ember_cli/deploy/redis/version.rb
Constant Summary collapse
- VERSION =
"0.1.1"
Instance Method Summary collapse
- #index_html ⇒ Object
-
#initialize(app) ⇒ Redis
constructor
A new instance of Redis.
Constructor Details
#initialize(app) ⇒ Redis
Returns a new instance of Redis.
7 8 9 |
# File 'lib/ember_cli/deploy/redis.rb', line 7 def initialize(app) @app = app end |
Instance Method Details
#index_html ⇒ Object
11 12 13 |
# File 'lib/ember_cli/deploy/redis.rb', line 11 def index_html redis_client.get(deploy_key).presence || index_html_missing! end |