Class: Guidestar::Chain
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
Attributes inherited from Client
Instance Method Summary collapse
-
#initialize(*args) ⇒ Chain
constructor
A new instance of Chain.
- #method_missing(method_name, *args) ⇒ Object
Methods inherited from Client
Methods included from Guidestar::Client::Search
#charity_check, #detailed_search, #npo_validation, #search
Methods included from Connection
Methods included from Request
Constructor Details
#initialize(*args) ⇒ Chain
Returns a new instance of Chain.
69 70 71 72 |
# File 'lib/guidestar/client.rb', line 69 def initialize(*args) @options = {} super end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method_name, *args) ⇒ Object
73 74 75 76 |
# File 'lib/guidestar/client.rb', line 73 def method_missing(method_name, *args) @options[method_name.to_sym]=args.first self end |
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
68 69 70 |
# File 'lib/guidestar/client.rb', line 68 def @options end |