Module: AvvoApi
- Defined in:
- lib/avvo_api.rb,
lib/avvo_api/base.rb,
lib/avvo_api/version.rb
Overview
The Avvo API Client. All API models live in this module.
Defined Under Namespace
Modules: AdvancedTrainingType, PhoneType, ProfessionalMethods Classes: Address, AdvancedTraining, Base, Doctor, Headshot, Language, Lawyer, Phone, Review, School, Specialty
Constant Summary collapse
- VERSION =
:nodoc:
"0.1.1"
Class Method Summary collapse
-
.setup(email, password) ⇒ Object
Tells this client to use
email
andpassword
to authenticate to the Avvo API.
Class Method Details
.setup(email, password) ⇒ Object
Tells this client to use email
and password
to authenticate to the Avvo API.
20 21 22 23 |
# File 'lib/avvo_api.rb', line 20 def self.setup(email, password) AvvoApi::Base.password = password AvvoApi::Base.user = email end |