Module: VinDecoder
- Defined in:
- lib/vin_decoder.rb,
lib/vin_decoder/client.rb,
lib/vin_decoder/vehicle.rb,
lib/vin_decoder/version.rb,
lib/vin_decoder/configuration.rb
Defined Under Namespace
Classes: ApiError, Client, Configuration, Error, NotFoundError, Vehicle
Constant Summary collapse
- VERSION =
'0.1.0'
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
16 17 18 |
# File 'lib/vin_decoder.rb', line 16 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
18 19 20 21 |
# File 'lib/vin_decoder.rb', line 18 def configure self.configuration ||= Configuration.new yield(configuration) end |