Sha256: 5cb86cf6f010eed1719c67bbc3e2ae8369cecdfcf55f073fee21bea783651d93

Contents?: true

Size: 287 Bytes

Versions: 6

Compression:

Stored size: 287 Bytes

Contents

require_relative "bucket_collection"

module DribbbleBucketApi
	class Connection < Struct.new(:username)
		def buckets(options = {})
			load_collection(options.merge(connection: self))
		end
		
		private
		def load_collection(options)
			BucketCollection.retrieve(options)
		end
	end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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