Class: LucidWorks::RequestHandler
- Inherits:
-
Object
- Object
- LucidWorks::RequestHandler
- Defined in:
- lib/lucid_works/request_handler.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
- #default_params ⇒ Object
-
#initialize(collection, name) ⇒ RequestHandler
constructor
A new instance of RequestHandler.
Constructor Details
#initialize(collection, name) ⇒ RequestHandler
Returns a new instance of RequestHandler.
7 8 9 10 |
# File 'lib/lucid_works/request_handler.rb', line 7 def initialize(collection, name) @collection = collection @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/lucid_works/request_handler.rb', line 5 def name @name end |
Instance Method Details
#default_params ⇒ Object
12 13 14 |
# File 'lib/lucid_works/request_handler.rb', line 12 def default_params @collection.search(:qt => '/lucid', :echoParams => 'all')['responseHeader']['params'].symbolize_keys end |