Module: Delicious::Bundles::Methods::All
- Extended by:
- ActiveSupport::Concern
- Included in:
- Api
- Defined in:
- lib/delicious/bundles/methods/all.rb
Instance Method Summary collapse
-
#all ⇒ Array<Bundle>
Get all user bundles.
Instance Method Details
#all ⇒ Array<Bundle>
Get all user bundles
13 14 15 16 17 18 |
# 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 |