Class: Lyft::Client
- Inherits:
-
Object
- Object
- Lyft::Client
- Includes:
- Api::Availability, Api::Oauth, Api::Rides, Api::Users
- Defined in:
- lib/lyft/client.rb
Overview
Client for making Lyft api requests
Instance Attribute Summary collapse
-
#client_id ⇒ String
The client id for lyft app.
-
#client_secret ⇒ String
The client secret for lyft app.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ Client
constructor
A new instance of Client.
Methods included from Api::Users
Methods included from Api::Rides
#ride, #ride_cancel, #ride_details, #ride_rating_and_tipping, #ride_receipt
Methods included from Api::Availability
#cost, #eta, #nearby_drivers, #ride_types
Methods included from Api::Oauth
Constructor Details
#initialize {|_self| ... } ⇒ Client
Returns a new instance of Client.
17 18 19 |
# File 'lib/lyft/client.rb', line 17 def initialize yield self end |
Instance Attribute Details
#client_id ⇒ String
The client id for lyft app.
8 9 10 |
# File 'lib/lyft/client.rb', line 8 def client_id @client_id end |
#client_secret ⇒ String
The client secret for lyft app.
8 9 10 |
# File 'lib/lyft/client.rb', line 8 def client_secret @client_secret end |