Module: RestfulSpec::ClassMethods
- Defined in:
- lib/restful_spec.rb
Instance Method Summary collapse
Instance Method Details
#specification(resource = nil, &block) ⇒ Object
34 35 36 37 |
# File 'lib/restful_spec.rb', line 34 def specification(resource = nil, &block) current_specification.resource = resource if resource current_specification.parse(&block) if block_given? end |