Module: Jammed
- Defined in:
- lib/jammed/user.rb,
lib/jammed.rb,
lib/jammed/api.rb,
lib/jammed/base.rb,
lib/jammed/jams.rb,
lib/jammed/likes.rb,
lib/jammed/errors.rb,
lib/jammed/random.rb,
lib/jammed/person.rb,
lib/jammed/version.rb,
lib/jammed/followers.rb,
lib/jammed/following.rb,
lib/jammed/popular_jams.rb,
lib/jammed/people_search.rb,
lib/jammed/suggested_people.rb
Overview
:nodoc:
Defined Under Namespace
Classes: API, BadRequest, Base, Followers, Following, HTTPError, InformJammed, Jams, Likes, NotFound, PeopleSearch, Person, PopularJams, RandomJam, RateLimited, ServerError, SuggestedPeople, Unavailable, User
Constant Summary
- VERSION =
:nodoc:
"0.1.1"
Class Method Summary (collapse)
-
+ (Object) new(api_key = '987bcab01b929eb2c07877b224215c92', opts = {})
Creates a Jammed::Base object for interacting with the API.
Class Method Details
+ (Object) new(api_key = '987bcab01b929eb2c07877b224215c92', opts = {})
Creates a Jammed::Base object for interacting with the API
Attributes
-
api_key - Sets the API key to use for all calls made with object
-
opts -Options hash. Does nothing at the moment.
Examples
jammed = Jammed.new('987bcab01b929eb2c07877b224215c92')
19 20 21 |
# File 'lib/jammed.rb', line 19 def new(api_key='987bcab01b929eb2c07877b224215c92', opts={}) Jammed::Base.new(api_key, opts) end |