Class: DynamicPDFApi::Action

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_client/Action.rb

Overview

Base class representing an action to perform tasks in many places such as in outlines, links, buttons etc.

UrlAction and GoToAction are derived from Action.

Direct Known Subclasses

GoToAction, UrlAction

Instance Method Summary collapse

Constructor Details

#initializeAction

Returns a new instance of Action.



9
# File 'lib/ruby_client/Action.rb', line 9

def initialize; end

Instance Method Details

#to_json(_options = {}) ⇒ Object



11
12
13
# File 'lib/ruby_client/Action.rb', line 11

def to_json(_options = {})
  JSON.pretty_generate({})
end