Module: SmartyStreetsApi
- Defined in:
- lib/smartystreets_api.rb,
lib/smartystreets_api/version.rb,
lib/smartystreets_api/monkey_patches.rb
Defined Under Namespace
Modules: Decorators, Exceptions, MonkeyPatches Classes: ApiClient, Configuration, InternationalStreetAddress, UsStreetAddress
Constant Summary collapse
- VERSION =
"0.3.0"
Class Attribute Summary collapse
-
.config ⇒ Object
Returns the value of attribute config.
Class Method Summary collapse
Class Attribute Details
.config ⇒ Object
Returns the value of attribute config.
5 6 7 |
# File 'lib/smartystreets_api.rb', line 5 def config @config end |
Class Method Details
.configuration ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/smartystreets_api.rb', line 8 def self.configuration unless @config configure end @config end |
.configure {|config| ... } ⇒ Object
16 17 18 19 |
# File 'lib/smartystreets_api.rb', line 16 def self.configure self.config ||= Configuration.new yield(config) end |