Class: PreventGo::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



5
6
7
8
9
# File 'lib/prevent_go/configuration.rb', line 5

def initialize
  @site_key = nil
  @secret_key = nil
  @api_root_url = nil
end

Instance Attribute Details

#api_root_urlObject

Returns the value of attribute api_root_url.



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

def api_root_url
  @api_root_url
end

#secret_keyObject

Returns the value of attribute secret_key.



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

def secret_key
  @secret_key
end

#site_keyObject

Returns the value of attribute site_key.



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

def site_key
  @site_key
end