Class: Incognia::Address::Line

Inherits:
Object
  • Object
show all
Defined in:
lib/incognia_api/address.rb

Instance Method Summary collapse

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_hashObject



12
13
14
# File 'lib/incognia_api/address.rb', line 12

def to_hash
  { address_line: @address }
end