Class: Apitizer::Base
- Inherits:
-
Object
- Object
- Apitizer::Base
- Extended by:
- Forwardable
- Defined in:
- lib/apitizer/base.rb
Instance Method Summary collapse
-
#initialize(options = {}, &block) ⇒ Base
constructor
A new instance of Base.
- #process(*arguments) ⇒ Object
Constructor Details
#initialize(options = {}, &block) ⇒ Base
Returns a new instance of Base.
7 8 9 10 |
# File 'lib/apitizer/base.rb', line 7 def initialize( = {}, &block) @options = Helper.deep_merge(Apitizer.defaults, ) @block = block end |