Class: ElasticBoard::Application
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- ElasticBoard::Application
- Defined in:
- lib/elastic_board.rb
Instance Attribute Summary collapse
-
#connection ⇒ Object
Connection to ElasticSearch.
Instance Method Summary collapse
-
#initialize(options = { }) ⇒ Application
constructor
Initializer Override to get options.
Constructor Details
#initialize(options = { }) ⇒ Application
Initializer Override to get options
17 18 19 20 |
# File 'lib/elastic_board.rb', line 17 def initialize( = { }) self.connection = [:connection] super end |
Instance Attribute Details
#connection ⇒ Object
Connection to ElasticSearch
14 15 16 |
# File 'lib/elastic_board.rb', line 14 def connection @connection end |