Method: TreasureData::Schedule#initialize
- Defined in:
- lib/td/client/model.rb
#initialize(client, name, cron, query, database = nil, result_url = nil, timezone = nil, delay = nil, next_time = nil, priority = nil, retry_limit = nil, org_name = nil) ⇒ Schedule
Returns a new instance of Schedule.
693 694 695 696 697 698 699 700 701 702 703 704 705 706 |
# File 'lib/td/client/model.rb', line 693 def initialize(client, name, cron, query, database=nil, result_url=nil, timezone=nil, delay=nil, next_time=nil, priority=nil, retry_limit=nil, org_name=nil) super(client) @name = name @cron = cron @query = query @database = database @result_url = result_url @timezone = timezone @delay = delay @next_time = next_time @priority = priority @retry_limit = retry_limit end |