Class: InformantRails::Request
- Inherits:
-
Object
- Object
- InformantRails::Request
- Defined in:
- lib/informant-rails/request.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#filename ⇒ Object
Returns the value of attribute filename.
-
#request_url ⇒ Object
Returns the value of attribute request_url.
Instance Method Summary collapse
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action.
3 4 5 |
# File 'lib/informant-rails/request.rb', line 3 def action @action end |
#filename ⇒ Object
Returns the value of attribute filename.
3 4 5 |
# File 'lib/informant-rails/request.rb', line 3 def filename @filename end |
#request_url ⇒ Object
Returns the value of attribute request_url.
3 4 5 |
# File 'lib/informant-rails/request.rb', line 3 def request_url @request_url end |
Instance Method Details
#models ⇒ Object
9 10 11 |
# File 'lib/informant-rails/request.rb', line 9 def models @models ||= [] end |
#process_model(model) ⇒ Object
5 6 7 |
# File 'lib/informant-rails/request.rb', line 5 def process_model(model) models << InformantRails::Model.new(model) if model end |