Class: LendingTree::Parse
- Inherits:
-
Object
- Object
- LendingTree::Parse
- Defined in:
- lib/lending_tree.rb
Instance Method Summary collapse
-
#initialize(params) ⇒ Parse
constructor
A new instance of Parse.
- #method_missing(symbol, *ids) ⇒ Object
Constructor Details
#initialize(params) ⇒ Parse
Returns a new instance of Parse.
6 7 8 |
# File 'lib/lending_tree.rb', line 6 def initialize(params) @params = params end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(symbol, *ids) ⇒ Object
10 11 12 13 14 |
# File 'lib/lending_tree.rb', line 10 def method_missing(symbol, *ids) @params[symbol] || nil rescue super end |