Sha256: 9079adcec2d55b59682fe9b32b45030fa386907238dd9528939ed9f697cf715e

Contents?: true

Size: 409 Bytes

Versions: 6

Compression:

Stored size: 409 Bytes

Contents

require "dribbble_bucket_api/version"
require "dribbble_bucket_api/connection"

module DribbbleBucketApi
  def self.connect(options = {})
	  # ensure we have a username
		unless options[:username]
			raise ArgumentError, %Q(
				Options hash must contain :username
				e.g: DribbbleBucketApi.connect(username: "ryantownsend")
			)
		end
		# create the connection
		Connection.new(options[:username])
	end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dribbble-bucket-api-0.0.6 lib/dribbble_bucket_api.rb
dribbble-bucket-api-0.0.5 lib/dribbble_bucket_api.rb
dribbble-bucket-api-0.0.4 lib/dribbble_bucket_api.rb
dribbble-bucket-api-0.0.3 lib/dribbble_bucket_api.rb
dribbble-bucket-api-0.0.2 lib/dribbble_bucket_api.rb
dribbble-bucket-api-0.0.1 lib/dribbble_bucket_api.rb