Class: ExperianAddressValidation::Client
- Inherits:
-
Object
- Object
- ExperianAddressValidation::Client
- Defined in:
- lib/experian_address_validation/client.rb
Class Attribute Summary collapse
-
.config ⇒ Object
readonly
Returns the value of attribute config.
Class Method Summary collapse
Class Attribute Details
.config ⇒ Object (readonly)
Returns the value of attribute config.
6 7 8 |
# File 'lib/experian_address_validation/client.rb', line 6 def config @config end |
Class Method Details
.configure {|config| ... } ⇒ Object
8 9 10 11 12 13 |
# File 'lib/experian_address_validation/client.rb', line 8 def configure raise ArgumentError, "block not given" unless block_given? @config = Config.new yield config end |