Class: RoadForest::MediaType::Handlers::Wrap::Parse
- Defined in:
- lib/roadforest/content-handling/handler-wrap.rb
Instance Attribute Summary
Attributes inherited from Wrapper
Instance Method Summary collapse
Methods inherited from Wrapper
#initialize, #local_to_network, #network_to_local
Constructor Details
This class inherits a constructor from RoadForest::MediaType::Handlers::Wrap::Wrapper
Instance Method Details
#add_child(resource) ⇒ Object
38 39 40 |
# File 'lib/roadforest/content-handling/handler-wrap.rb', line 38 def add_child(resource) @handler.add_child_to(resource) end |
#call(resource) ⇒ Object
34 35 36 |
# File 'lib/roadforest/content-handling/handler-wrap.rb', line 34 def call(resource) @handler.parse_for(resource) end |