Module: FontsDotCom::Config

Defined in:
lib/fonts_dot_com/config.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.api_keyObject

Returns the value of attribute api_key.



8
9
10
# File 'lib/fonts_dot_com/config.rb', line 8

def api_key
  @api_key
end

.private_keyObject

Returns the value of attribute private_key.



8
9
10
# File 'lib/fonts_dot_com/config.rb', line 8

def private_key
  @private_key
end

.public_keyObject

Returns the value of attribute public_key.



8
9
10
# File 'lib/fonts_dot_com/config.rb', line 8

def public_key
  @public_key
end

Class Method Details

.app_keyObject



14
15
16
# File 'lib/fonts_dot_com/config.rb', line 14

def app_key
  api_key
end

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

Yields:

  • (_self)

Yield Parameters:



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

def configure
  yield self
end