Class: ApiPresenter::Resolvers::Base
- Inherits:
-
Object
- Object
- ApiPresenter::Resolvers::Base
- Defined in:
- lib/api_presenter/resolvers/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#presenter ⇒ Object
readonly
Returns the value of attribute presenter.
Instance Method Summary collapse
-
#initialize(presenter) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(presenter) ⇒ Base
Returns a new instance of Base.
11 12 13 |
# File 'lib/api_presenter/resolvers/base.rb', line 11 def initialize(presenter) @presenter = presenter end |
Instance Attribute Details
#presenter ⇒ Object (readonly)
Returns the value of attribute presenter.
7 8 9 |
# File 'lib/api_presenter/resolvers/base.rb', line 7 def presenter @presenter end |