Class: CloudSesame::Domain::Client
- Inherits:
-
Object
- Object
- CloudSesame::Domain::Client
- Defined in:
- lib/cloud_sesame/domain/client.rb
Instance Attribute Summary collapse
-
#searchable ⇒ Object
readonly
Returns the value of attribute searchable.
Class Method Summary collapse
Instance Method Summary collapse
- #config ⇒ Object
-
#initialize(searchable) ⇒ Client
constructor
A new instance of Client.
- #search(params) ⇒ Object
Methods included from CloudSesame::Domain::ClientModule::Caching
#caching_with, #executor, #executor=
Constructor Details
#initialize(searchable) ⇒ Client
Returns a new instance of Client.
18 19 20 |
# File 'lib/cloud_sesame/domain/client.rb', line 18 def initialize(searchable) @searchable = searchable end |
Instance Attribute Details
#searchable ⇒ Object (readonly)
Returns the value of attribute searchable.
8 9 10 |
# File 'lib/cloud_sesame/domain/client.rb', line 8 def searchable @searchable end |
Class Method Details
.configure {|global_config| ... } ⇒ Object
10 11 12 |
# File 'lib/cloud_sesame/domain/client.rb', line 10 def self.configure yield global_config if block_given? end |