Class: BreweryDB::Resource
- Inherits:
-
Object
- Object
- BreweryDB::Resource
- Defined in:
- lib/brewery_db/resource.rb
Direct Known Subclasses
BreweryDB::Resources::Beers, BreweryDB::Resources::Breweries, BreweryDB::Resources::Brewery, BreweryDB::Resources::Categories, BreweryDB::Resources::Fermentables, BreweryDB::Resources::FluidSize, BreweryDB::Resources::Glassware, BreweryDB::Resources::Hops, BreweryDB::Resources::Locations, BreweryDB::Resources::Menu, BreweryDB::Resources::Search, BreweryDB::Resources::Styles, BreweryDB::Resources::Yeasts
Instance Method Summary collapse
-
#initialize(config) ⇒ Resource
constructor
A new instance of Resource.
Constructor Details
#initialize(config) ⇒ Resource
Returns a new instance of Resource.
6 7 8 |
# File 'lib/brewery_db/resource.rb', line 6 def initialize(config) @config = config end |