Class: EmberCli::Deploy::Redis

Inherits:
Object
  • Object
show all
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

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_htmlObject



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