Class: VinData::Services::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/vindata/services/base.rb

Direct Known Subclasses

Edmunds, Nada

Instance Method Summary collapse

Constructor Details

#initializeBase

Returns a new instance of Base.



4
5
6
# File 'lib/vindata/services/base.rb', line 4

def initialize
  @cache = nil
end

Instance Method Details

#base_url(query) ⇒ Object

Base URL of the API to query



14
15
16
# File 'lib/vindata/services/base.rb', line 14

def base_url(query)
  fail
end

#configurationObject



22
23
24
# File 'lib/vindata/services/base.rb', line 22

def configuration
  VinData.config
end

#details_by_vin(vin) ⇒ Object



18
19
20
# File 'lib/vindata/services/base.rb', line 18

def details_by_vin vin
  fail
end

#nameObject

Human readable name of this service



9
10
11
# File 'lib/vindata/services/base.rb', line 9

def name
  fail
end