Class: Incognia::Address::Line
- Inherits:
-
Object
- Object
- Incognia::Address::Line
- Defined in:
- lib/incognia_api/address.rb
Instance Method Summary collapse
-
#initialize(address) ⇒ Line
constructor
A new instance of Line.
- #to_hash ⇒ Object
Constructor Details
#initialize(address) ⇒ Line
Returns a new instance of Line.
8 9 10 |
# File 'lib/incognia_api/address.rb', line 8 def initialize(address) @address = address end |
Instance Method Details
#to_hash ⇒ Object
12 13 14 |
# File 'lib/incognia_api/address.rb', line 12 def to_hash { address_line: @address } end |