Module: Trestle::ResourceHelpers::Resource::ClassMethods

Defined in:
lib/trestle/resource_helpers/resource.rb

Instance Method Summary collapse

Instance Method Details

#resource_described?Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/trestle/resource_helpers/resource.rb', line 19

def resource_described?
  adapter.respond_to?(:resource_description)
end