Class: Postino::Form
- Inherits:
-
Object
- Object
- Postino::Form
- Defined in:
- lib/postino/form.rb,
lib/postino/form/address.rb
Defined Under Namespace
Classes: Address
Instance Attribute Summary collapse
-
#account_number ⇒ Object
Returns the value of attribute account_number.
-
#address ⇒ Object
readonly
Returns the value of attribute address.
-
#numeric_amount ⇒ Object
Returns the value of attribute numeric_amount.
-
#payee_name ⇒ Object
Returns the value of attribute payee_name.
-
#payer_name ⇒ Object
Returns the value of attribute payer_name.
-
#reason ⇒ Object
Returns the value of attribute reason.
-
#text_amount ⇒ Object
Returns the value of attribute text_amount.
Instance Method Summary collapse
- #generate(path) ⇒ Object
-
#initialize ⇒ Form
constructor
A new instance of Form.
Constructor Details
Instance Attribute Details
#account_number ⇒ Object
Returns the value of attribute account_number.
3 4 5 |
# File 'lib/postino/form.rb', line 3 def account_number @account_number end |
#address ⇒ Object (readonly)
Returns the value of attribute address.
6 7 8 |
# File 'lib/postino/form.rb', line 6 def address @address end |
#numeric_amount ⇒ Object
Returns the value of attribute numeric_amount.
3 4 5 |
# File 'lib/postino/form.rb', line 3 def numeric_amount @numeric_amount end |
#payee_name ⇒ Object
Returns the value of attribute payee_name.
3 4 5 |
# File 'lib/postino/form.rb', line 3 def payee_name @payee_name end |
#payer_name ⇒ Object
Returns the value of attribute payer_name.
3 4 5 |
# File 'lib/postino/form.rb', line 3 def payer_name @payer_name end |
#reason ⇒ Object
Returns the value of attribute reason.
3 4 5 |
# File 'lib/postino/form.rb', line 3 def reason @reason end |
#text_amount ⇒ Object
Returns the value of attribute text_amount.
3 4 5 |
# File 'lib/postino/form.rb', line 3 def text_amount @text_amount end |
Instance Method Details
#generate(path) ⇒ Object
12 13 14 |
# File 'lib/postino/form.rb', line 12 def generate(path) Postino::Generator.generate_form(path, self) end |