Method: Protip::Decorator#initialize
- Defined in:
- lib/protip/decorator.rb
#initialize(message, transformer, nested_resources = {}) ⇒ Decorator
Returns a new instance of Decorator.
15 16 17 18 19 |
# File 'lib/protip/decorator.rb', line 15 def initialize(, transformer, nested_resources={}) @message = @transformer = transformer @nested_resources = nested_resources end |