Class: Heirloom::Catalog::Show

Inherits:
Object
  • Object
show all
Defined in:
lib/heirloom/catalog/show.rb

Instance Method Summary collapse

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_prefixObject



14
15
16
# File 'lib/heirloom/catalog/show.rb', line 14

def bucket_prefix
  lookup(:name => @name, :attribute => 'bucket_prefix').first
end

#regionsObject



10
11
12
# File 'lib/heirloom/catalog/show.rb', line 10

def regions
  lookup :name => @name, :attribute => 'regions'
end