Class: Pendulum::DSL::Output::Nend

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

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods included from Helper

included

Constructor Details

This class inherits a constructor from Pendulum::DSL::Output::Base

Instance Method Details

#to_urlObject


6
7
8
9
10
11
12
13
14
15
16
# File 'lib/pendulum/dsl/output/nend.rb', line 6

def to_url
  {
    type:                   'nend',
    apikey:                 @api_key,
    target_type:            @type,
    target_name:            @name,
    retry_initial_wait_sec: @retry_delay || 5,
    retry_limit:            @retry_limit || 4,
    application_name:       'Treasure Data nend Output'
  }.to_json
end