Class: Origami::Action::SubmitForm

Inherits:
Origami::Action show all
Defined in:
lib/origami/actions.rb

Overview

Class representing a SubmitForm action.

Defined Under Namespace

Modules: Flags

Constant Summary

Constants included from StandardObject

StandardObject::DEFAULT_ATTRIBUTES

Constants inherited from Dictionary

Dictionary::TOKENS

Constants included from Object

Object::TOKENS

Instance Attribute Summary

Attributes inherited from Dictionary

#names_cache, #strings_cache, #xref_cache

Attributes included from Object

#file_offset, #generation, #no, #objstm_offset, #parent

Class Method Summary collapse

Methods inherited from Origami::Action

GoTo, GoToE, GoToR, ImportData, JavaScript, Named, RichMediaExecute, SubmitForm, URI

Methods included from StandardObject

included, #pre_build, #version_required

Methods inherited from Dictionary

#[], #[]=, add_type_signature, #cast_to, #copy, #delete, guess_type, hint_type, #initialize, #key?, #map!, #merge, parse, #to_h, #to_obfuscated_str, #to_s

Methods included from FieldAccessor

#method_missing, #respond_to_missing?

Methods included from Object

#<=>, #cast_to, #copy, #document, #export, included, #indirect?, #indirect_parent, #initialize, #logicalize, #logicalize!, #native_type, parse, #post_build, #pre_build, #reference, #set_document, #set_indirect, skip_until_next_obj, #solve, #to_o, #to_s, #type, typeof, #version_required, #xrefs

Constructor Details

This class inherits a constructor from Origami::Dictionary

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Origami::FieldAccessor

Class Method Details

.[](url, fields = [], flags = 0) ⇒ Object



255
256
257
258
# File 'lib/origami/actions.rb', line 255

def self.[](url, fields = [], flags = 0)
    url = FileSpec.new(:FS => :URL, :F => url) unless url.is_a? FileSpec
    self.new(:F => url, :Fields => fields, :Flags => flags)
end