Sha256: ee56c7c468229c900f7294145c6ad91ae0d1043aca23653c3518555eba858ec5

Contents?: true

Size: 235 Bytes

Versions: 6

Compression:

Stored size: 235 Bytes

Contents

require "ostruct"
require_relative "shot_collection"

module DribbbleBucketApi
	class Bucket < OpenStruct
		def shots(options = {})
			options.merge!(username: username, bucket_id: id)
			ShotCollection.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/bucket.rb
dribbble-bucket-api-0.0.5 lib/dribbble_bucket_api/bucket.rb
dribbble-bucket-api-0.0.4 lib/dribbble_bucket_api/bucket.rb
dribbble-bucket-api-0.0.3 lib/dribbble_bucket_api/bucket.rb
dribbble-bucket-api-0.0.2 lib/dribbble_bucket_api/bucket.rb
dribbble-bucket-api-0.0.1 lib/dribbble_bucket_api/bucket.rb