Class: ActiveForms::EntryPrintout
- Defined in:
- lib/active_forms/entry_printout.rb
Instance Attribute Summary
Attributes inherited from Mapper
Class Method Summary collapse
-
.find(params = {}) ⇒ Object
required params: apiFormCode - Form’s code apiNumber - Application’s number.
Instance Method Summary collapse
Methods inherited from Mapper
#==, #apiVersion=, #initialize, #xmlns=
Constructor Details
This class inherits a constructor from ActiveForms::Mapper
Class Method Details
.find(params = {}) ⇒ Object
required params:
apiFormCode - Form's code
apiNumber - Application's number
10 11 12 13 14 15 16 |
# File 'lib/active_forms/entry_printout.rb', line 10 def find(params = {}) response = ActiveForms::Request.get("entryprintout", params) attributes = response["entryPrintout"] new(attributes) end |
Instance Method Details
#printoutContent=(value) ⇒ Object
19 20 21 |
# File 'lib/active_forms/entry_printout.rb', line 19 def printoutContent=(value) @attributes["printoutContent"] = value.is_a?(String) ? value.strip : super end |