Module: Cathode::ResourceDsl
Overview
Holds the domain-specific language (DSL) for describing resources.
Instance Method Summary collapse
-
#_resources ⇒ Array
Lists all the resources; initializes an empty ‘ObjectCollection` if there aren’t any yet.
Instance Method Details
#_resources ⇒ Array
Lists all the resources; initializes an empty ‘ObjectCollection` if there aren’t any yet
7 8 9 |
# File 'lib/cathode/resource_dsl.rb', line 7 def _resources @_resources ||= ObjectCollection.new end |