module Delicious::Bundles::Methods::All

Public Instance Methods

all() click to toggle source

Get all user bundles

@return [Array<Bundle>] List of bundles

# File lib/delicious/bundles/methods/all.rb, line 13
def all
  response = @client.connection.get '/v1/tags/bundles/all'
  response.body['bundles']['bundle'].map do |attrs|
    Bundle.build_persisted @client, self.class.model_attrs(attrs)
  end
end