Class: Hubbah::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/hubbah/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(&block) ⇒ Configuration

Returns a new instance of Configuration.



5
6
7
# File 'lib/hubbah/configuration.rb', line 5

def initialize(&block)
  block.call(self)
end

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key.



3
4
5
# File 'lib/hubbah/configuration.rb', line 3

def api_key
  @api_key
end

#hub_idObject

Returns the value of attribute hub_id.



3
4
5
# File 'lib/hubbah/configuration.rb', line 3

def hub_id
  @hub_id
end