Class: Barruun::Configurations::Storage::Bucket
- Inherits:
-
Object
- Object
- Barruun::Configurations::Storage::Bucket
- Defined in:
- lib/barruun/configurations/storage/bucket.rb
Instance Method Summary collapse
-
#initialize(hash) ⇒ Bucket
constructor
A new instance of Bucket.
- #name ⇒ Object
- #options ⇒ Object
Constructor Details
#initialize(hash) ⇒ Bucket
Returns a new instance of Bucket.
5 6 7 |
# File 'lib/barruun/configurations/storage/bucket.rb', line 5 def initialize(hash) @hash = hash end |
Instance Method Details
#name ⇒ Object
9 10 11 |
# File 'lib/barruun/configurations/storage/bucket.rb', line 9 def name @hash["name"] end |
#options ⇒ Object
13 14 15 |
# File 'lib/barruun/configurations/storage/bucket.rb', line 13 def @hash.reject { |k| k == "name" } end |