Class: Bkblz::Task::ListBuckets

Inherits:
BaseTask
  • Object
show all
Defined in:
lib/bkblz/task/list_buckets.rb

Constant Summary

Constants included from ClassMethods

ClassMethods::PARAM_SPEC

Instance Attribute Summary

Attributes inherited from BaseTask

#config, #result

Instance Method Summary collapse

Methods inherited from BaseTask

#initialize, #run

Methods included from ClassMethods

#check_one_of, #check_params, #check_required, #run, #task_param, #task_params

Methods included from TaskHelpers

#find_bucket_by_name

Constructor Details

This class inherits a constructor from Bkblz::Task::BaseTask

Instance Method Details

#run_internal(session, params) ⇒ Object



5
6
7
# File 'lib/bkblz/task/list_buckets.rb', line 5

def run_internal(session, params)
  session.send(Bkblz::V1::ListBucketsRequest.new).buckets
end