Class: S3ListBuckets::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/s3-list-buckets/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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_optionsObject

Stronger builder pattern would be nice



5
6
7
# File 'lib/s3-list-buckets/config.rb', line 5

def client_options
  @client_options
end

#json_formatObject

Stronger builder pattern would be nice



5
6
7
# File 'lib/s3-list-buckets/config.rb', line 5

def json_format
  @json_format
end

#patternsObject

Stronger builder pattern would be nice



5
6
7
# File 'lib/s3-list-buckets/config.rb', line 5

def patterns
  @patterns
end

#s3_clientObject

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_locationObject

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

#validateObject



17
18
# File 'lib/s3-list-buckets/config.rb', line 17

def validate
end