Class: Pendulum::DSL::Output::Result

Inherits:
Base
  • Object
show all
Defined in:
lib/pendulum/dsl/output/result.rb

Instance Method Summary collapse

Methods included from Helper

included

Constructor Details

#initialize(name) ⇒ Result

Returns a new instance of Result.



5
6
7
8
# File 'lib/pendulum/dsl/output/result.rb', line 5

def initialize(name)
  @name = name
  super()
end

Instance Method Details

#to_urlObject



10
11
12
13
# File 'lib/pendulum/dsl/output/result.rb', line 10

def to_url
  url = "#{@name}:#{@table}"
  with_options(url, :schema, :method, :mode)
end