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: PhoneType Classes: Address, Base, Headshot, Language, Lawyer, Phone, Review, School, Specialty

Constant Summary collapse

VERSION =

:nodoc:

"0.2.1"

Class Method Summary collapse

Class Method Details

.setup(email, password) ⇒ Object

Tells this client to use email and password to authenticate to the Avvo API.



17
18
19
20
# File 'lib/avvo_api.rb', line 17

def self.setup(email, password)
  AvvoApi::Base.password = password
  AvvoApi::Base.user = email
end