Class: AsposePdfCloud::LinkActionType
- Inherits:
-
Object
- Object
- AsposePdfCloud::LinkActionType
- Defined in:
- lib/aspose_pdf_cloud/models/link_action_type.rb
Constant Summary collapse
- GO_TO_ACTION =
0.freeze
- GO_TO_URI_ACTION =
1.freeze
- JAVASCRIPT_ACTION =
2.freeze
- LAUNCH_ACTION =
3.freeze
- NAMED_ACTION =
4.freeze
- SUBMIT_FORM_ACTION =
5.freeze
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ Fixnum
Builds the enum from string.
Instance Method Details
#build_from_hash(value) ⇒ Fixnum
Builds the enum from string
37 38 39 40 41 42 |
# File 'lib/aspose_pdf_cloud/models/link_action_type.rb', line 37 def build_from_hash(value) constantValues = LinkActionType.constants.select{ |const_name| LinkActionType.const_get(const_name) == value} raise "Invalid ENUM value #{value} for class #LinkActionType" if constantValues.empty? value #constantValues[0] end |