Class: MajesticSeoApi::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/majestic_seo/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/majestic_seo/configuration.rb', line 5

def initialize
  self.environment  =   :sandbox
  self.api_key      =   nil
  self.verbose      =   false
end

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key.



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

def api_key
  @api_key
end

#environmentObject

Returns the value of attribute environment.



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

def environment
  @environment
end

#verboseObject

Returns the value of attribute verbose.



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

def verbose
  @verbose
end