Class: Postmen::Billing
- Inherits:
-
Object
- Object
- Postmen::Billing
- Includes:
- Common
- Defined in:
- lib/postmen/billing.rb
Instance Attribute Summary collapse
-
#method ⇒ Object
readonly
Returns the value of attribute method.
-
#paid_by ⇒ Object
readonly
Returns the value of attribute paid_by.
Instance Method Summary collapse
-
#initialize(options) ⇒ Billing
constructor
A new instance of Billing.
Methods included from Common
Constructor Details
#initialize(options) ⇒ Billing
Returns a new instance of Billing.
8 9 10 11 |
# File 'lib/postmen/billing.rb', line 8 def initialize() @paid_by = [:paid_by] @method = [:method] end |
Instance Attribute Details
#method ⇒ Object (readonly)
Returns the value of attribute method.
5 6 7 |
# File 'lib/postmen/billing.rb', line 5 def method @method end |
#paid_by ⇒ Object (readonly)
Returns the value of attribute paid_by.
5 6 7 |
# File 'lib/postmen/billing.rb', line 5 def paid_by @paid_by end |