Module: InformantRails::Config

Extended by:
Config
Included in:
Config
Defined in:
lib/informant-rails/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#api_tokenObject

Returns the value of attribute api_token.



4
5
6
# File 'lib/informant-rails/config.rb', line 4

def api_token
  @api_token
end

#server_environmentObject

Returns the value of attribute server_environment.



4
5
6
# File 'lib/informant-rails/config.rb', line 4

def server_environment
  @server_environment
end

Instance Method Details

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

Yields:

  • (_self)

Yield Parameters:



9
# File 'lib/informant-rails/config.rb', line 9

def configure; yield self end