Class: DynamicPDFApi::Action
- Inherits:
-
Object
- Object
- DynamicPDFApi::Action
- 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
Instance Method Summary collapse
-
#initialize ⇒ Action
constructor
A new instance of Action.
- #to_json(_options = {}) ⇒ Object
Constructor Details
#initialize ⇒ Action
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( = {}) JSON.pretty_generate({}) end |