Method: Restify::Relation#initialize
- Defined in:
- lib/restify/relation.rb
#initialize(context, source, pattern) ⇒ Relation
Returns a new instance of Relation.
4 5 6 7 8 |
# File 'lib/restify/relation.rb', line 4 def initialize(context, source, pattern) @context = context @source = source @template = to_template(pattern) end |