Method: Vcloud::Core::Query#initialize
- Defined in:
- lib/vcloud/core/query.rb
#initialize(type = nil, options = {}, query_runner = Vcloud::Core::QueryRunner.new) ⇒ Vcloud::Core::Query
Initialize a new Vcloud::Core::Query object
13 14 15 16 17 18 |
# File 'lib/vcloud/core/query.rb', line 13 def initialize(type=nil, ={}, query_runner = Vcloud::Core::QueryRunner.new) @type = type @options = @options[:output_format] ||= 'tsv' @query_runner = query_runner end |