Class: Heirloom::Catalog::Show
- Inherits:
-
Object
- Object
- Heirloom::Catalog::Show
- Defined in:
- lib/heirloom/catalog/show.rb
Instance Method Summary collapse
- #bucket_prefix ⇒ Object
-
#initialize(args) ⇒ Show
constructor
A new instance of Show.
- #regions ⇒ Object
Constructor Details
#initialize(args) ⇒ Show
Returns a new instance of Show.
5 6 7 8 |
# File 'lib/heirloom/catalog/show.rb', line 5 def initialize(args) @config = args[:config] @name = args[:name] end |
Instance Method Details
#bucket_prefix ⇒ Object
14 15 16 |
# File 'lib/heirloom/catalog/show.rb', line 14 def bucket_prefix lookup(:name => @name, :attribute => 'bucket_prefix').first end |
#regions ⇒ Object
10 11 12 |
# File 'lib/heirloom/catalog/show.rb', line 10 def regions lookup :name => @name, :attribute => 'regions' end |