Class: Dope::ResourceModelHandler
- Inherits:
-
Derailleur::Handler
- Object
- Derailleur::Handler
- Dope::ResourceModelHandler
show all
- Defined in:
- lib/dope/core/handler.rb
Instance Method Summary
collapse
Instance Method Details
#model ⇒ Object
57
58
59
|
# File 'lib/dope/core/handler.rb', line 57
def model
object[0]
end
|
#prefix ⇒ Object
65
66
67
|
# File 'lib/dope/core/handler.rb', line 65
def prefix
":#{model.base_path}."
end
|
#resources ⇒ Object
61
62
63
|
# File 'lib/dope/core/handler.rb', line 61
def resources
object[2]
end
|