Module: Sucker::Config

Extended by:
Config
Included in:
Config
Defined in:
lib/sucker/config.rb

Overview

Amazon credentials.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#associate_tagObject

The Amazon associate tag.



16
17
18
# File 'lib/sucker/config.rb', line 16

def associate_tag
  @associate_tag
end

#keyObject

The Amazon Web Services access key.



10
11
12
# File 'lib/sucker/config.rb', line 10

def key
  @key
end

#localeObject

The Amazon locale.



7
8
9
# File 'lib/sucker/config.rb', line 7

def locale
  @locale
end

#secretObject

The Amazon Web Services secret.



13
14
15
# File 'lib/sucker/config.rb', line 13

def secret
  @secret
end

Instance Method Details

#configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



18
19
20
# File 'lib/sucker/config.rb', line 18

def configure
  yield self
end