Module: Strobe::Resource::Singleton::ClassMethods
- Defined in:
- lib/strobe/resource/singleton.rb
Instance Method Summary collapse
- #denormalize_params(params) ⇒ Object
- #resource_name ⇒ Object (also: #singular_resource_name)
Instance Method Details
#denormalize_params(params) ⇒ Object
14 15 16 17 |
# File 'lib/strobe/resource/singleton.rb', line 14 def denormalize_params(params) # Nothing fancy implemented yet params[pluralized_root] end |
#resource_name ⇒ Object Also known as: singular_resource_name
8 9 10 |
# File 'lib/strobe/resource/singleton.rb', line 8 def resource_name base_const_name.underscore end |