Class: Cep

Inherits:
Correios::Cep show all
Defined in:
lib/ceps.rb

Constant Summary

Constants inherited from Correios::Cep

Correios::Cep::AttrReaders, Correios::Cep::Setup

Class Attribute Summary collapse

Attributes inherited from Correios::Cep

#data

Class Method Summary collapse

Methods inherited from Correios::Cep

#==, #initialize, new, #valid?

Constructor Details

This class inherits a constructor from Correios::Cep

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



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

def configuration
  @configuration
end

Class Method Details

.configureObject



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

def self.configure
  self.configuration ||= Setup.new
end