Module: DribbbleBucketApi
- Defined in:
- lib/dribbble_bucket_api.rb,
lib/dribbble_bucket_api/shot.rb,
lib/dribbble_bucket_api/bucket.rb,
lib/dribbble_bucket_api/version.rb,
lib/dribbble_bucket_api/connection.rb,
lib/dribbble_bucket_api/public_site.rb,
lib/dribbble_bucket_api/official_api.rb,
lib/dribbble_bucket_api/shot_collection.rb,
lib/dribbble_bucket_api/bucket_collection.rb,
lib/dribbble_bucket_api/shot_index_parser.rb,
lib/dribbble_bucket_api/bucket_index_parser.rb
Defined Under Namespace
Classes: Bucket, BucketCollection, BucketIndexParser, Connection, OfficialApi, PublicSite, Shot, ShotCollection, ShotIndexParser
Constant Summary collapse
- VERSION =
"0.0.6"
Class Method Summary collapse
Class Method Details
.connect(options = {}) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/dribbble_bucket_api.rb', line 5 def self.connect( = {}) # ensure we have a username unless [:username] raise ArgumentError, %Q( Options hash must contain :username e.g: DribbbleBucketApi.connect(username: "ryantownsend") ) end # create the connection Connection.new([:username]) end |