Class: Printavo::CustomAddress

Inherits:
Models::Base show all
Defined in:
lib/printavo/models/custom_address.rb

Instance Method Summary collapse

Methods inherited from Models::Base

#==, #[], #dig, #initialize, #inspect, #to_h

Constructor Details

This class inherits a constructor from Printavo::Models::Base

Instance Method Details

#addressObject



8
# File 'lib/printavo/models/custom_address.rb', line 8

def address = self['address']

#cityObject



9
# File 'lib/printavo/models/custom_address.rb', line 9

def city    = self['city']

#countryObject



12
# File 'lib/printavo/models/custom_address.rb', line 12

def country = self['country']

#idObject



6
# File 'lib/printavo/models/custom_address.rb', line 6

def id      = self['id']

#nameObject



7
# File 'lib/printavo/models/custom_address.rb', line 7

def name    = self['name']

#stateObject



10
# File 'lib/printavo/models/custom_address.rb', line 10

def state   = self['state']

#zipObject



11
# File 'lib/printavo/models/custom_address.rb', line 11

def zip     = self['zip']