Class: ActiveForms::ApplicationPrint
- Defined in:
- lib/active_forms/application_print.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/application_print.rb', line 10 def find(params = {}) response = ActiveForms::Request.get("applicationprint", params) attributes = response["applicationPrint"] new(attributes) end |
Instance Method Details
#printContent=(value) ⇒ Object
19 20 21 |
# File 'lib/active_forms/application_print.rb', line 19 def printContent=(value) @attributes["printContent"] = value.is_a?(String) ? value.strip : super end |