Class: Valvat::Lookup::Base
- Inherits:
-
Object
- Object
- Valvat::Lookup::Base
- Defined in:
- lib/valvat/lookup/base.rb
Instance Method Summary collapse
-
#initialize(vat, options = {}) ⇒ Base
constructor
A new instance of Base.
- #perform ⇒ Object
Constructor Details
#initialize(vat, options = {}) ⇒ Base
Returns a new instance of Base.
9 10 11 12 13 14 |
# File 'lib/valvat/lookup/base.rb', line 9 def initialize(vat, = {}) @vat = Valvat(vat) @options = Valvat::Options() @requester = @options[:requester] && Valvat(@options[:requester]) @rate_limit = @options[:rate_limit] end |