Module: Marley::Plugins::RestConvenience::InstanceMethods
- Defined in:
- lib/marley/plugins/rest_convenience.rb
Instance Method Summary collapse
Instance Method Details
#resource_type ⇒ Object
19 20 21 22 23 24 25 |
# File 'lib/marley/plugins/rest_convenience.rb', line 19 def resource_type if is_a? Sequel::Model :instance elsif is_a? MP::Section::Section :section end end |