Class: S3ListBuckets::Config
- Inherits:
-
Object
- Object
- S3ListBuckets::Config
- Defined in:
- lib/s3-list-buckets/config.rb
Instance Attribute Summary collapse
-
#client_options ⇒ Object
Stronger builder pattern would be nice.
-
#json_format ⇒ Object
Stronger builder pattern would be nice.
-
#patterns ⇒ Object
Stronger builder pattern would be nice.
-
#s3_client ⇒ Object
Stronger builder pattern would be nice.
-
#show_location ⇒ Object
Stronger builder pattern would be nice.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
- #validate ⇒ Object
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
10 11 12 13 14 15 |
# File 'lib/s3-list-buckets/config.rb', line 10 def initialize @client_options = {} @patterns = nil @show_location = false @json_format = false end |
Instance Attribute Details
#client_options ⇒ Object
Stronger builder pattern would be nice
5 6 7 |
# File 'lib/s3-list-buckets/config.rb', line 5 def @client_options end |
#json_format ⇒ Object
Stronger builder pattern would be nice
5 6 7 |
# File 'lib/s3-list-buckets/config.rb', line 5 def json_format @json_format end |
#patterns ⇒ Object
Stronger builder pattern would be nice
5 6 7 |
# File 'lib/s3-list-buckets/config.rb', line 5 def patterns @patterns end |
#s3_client ⇒ Object
Stronger builder pattern would be nice
5 6 7 |
# File 'lib/s3-list-buckets/config.rb', line 5 def s3_client @s3_client end |
#show_location ⇒ Object
Stronger builder pattern would be nice
5 6 7 |
# File 'lib/s3-list-buckets/config.rb', line 5 def show_location @show_location end |
Instance Method Details
#validate ⇒ Object
17 18 |
# File 'lib/s3-list-buckets/config.rb', line 17 def validate end |