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