Class: MagicBell::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/magicbell/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



9
10
11
# File 'lib/magicbell/config.rb', line 9

def initialize
  @api_host = "https://api.magicbell.io"
end

Instance Attribute Details

#api_hostObject

Returns the value of attribute api_host.



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

def api_host
  @api_host
end

#api_keyObject

Returns the value of attribute api_key.



3
4
5
# File 'lib/magicbell/config.rb', line 3

def api_key
  @api_key
end

#api_secretObject

Returns the value of attribute api_secret.



4
5
6
# File 'lib/magicbell/config.rb', line 4

def api_secret
  @api_secret
end

#magic_addressObject

Returns the value of attribute magic_address.



6
7
8
# File 'lib/magicbell/config.rb', line 6

def magic_address
  @magic_address
end

#project_idObject

Returns the value of attribute project_id.



5
6
7
# File 'lib/magicbell/config.rb', line 5

def project_id
  @project_id
end