Class: RestfulSpec::Specification
- Inherits:
-
Object
- Object
- RestfulSpec::Specification
- Extended by:
- ActiveSupport::Autoload
- Defined in:
- lib/restful_spec/specification.rb
Defined Under Namespace
Classes: Action, SmartSelect
Instance Attribute Summary collapse
-
#controller ⇒ Object
readonly
Returns the value of attribute controller.
-
#resource ⇒ Object
Returns the value of attribute resource.
Instance Method Summary collapse
Instance Attribute Details
#controller ⇒ Object (readonly)
Returns the value of attribute controller.
6 7 8 |
# File 'lib/restful_spec/specification.rb', line 6 def controller @controller end |
#resource ⇒ Object
Returns the value of attribute resource.
6 7 8 |
# File 'lib/restful_spec/specification.rb', line 6 def resource @resource end |
Instance Method Details
#parse(&block) ⇒ Object
13 14 15 |
# File 'lib/restful_spec/specification.rb', line 13 def parse(&block) instance_eval(&block) if block_given? end |