Class: ParsecClient

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

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



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

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



16
17
18
# File 'lib/parsec_client.rb', line 16

def self.configure
  yield configuration 
end

.resetObject



12
13
14
# File 'lib/parsec_client.rb', line 12

def self.reset
  @configuration = Parsec::Configuration.new
end