Class: GpxDoctor::Models::Email
- Inherits:
-
Struct
- Object
- Struct
- GpxDoctor::Models::Email
- Defined in:
- lib/gpx_doctor/models/email.rb
Instance Attribute Summary collapse
-
#domain ⇒ Object
Returns the value of attribute domain.
-
#id ⇒ Object
Returns the value of attribute id.
Instance Method Summary collapse
Instance Attribute Details
#domain ⇒ Object
Returns the value of attribute domain
5 6 7 |
# File 'lib/gpx_doctor/models/email.rb', line 5 def domain @domain end |
#id ⇒ Object
Returns the value of attribute id
5 6 7 |
# File 'lib/gpx_doctor/models/email.rb', line 5 def id @id end |
Instance Method Details
#to_s ⇒ Object
6 7 8 |
# File 'lib/gpx_doctor/models/email.rb', line 6 def to_s "#{id}@#{domain}" end |