Class: SmartyStreets::InternationalStreet::Changes

Inherits:
RootLevel
  • Object
show all
Defined in:
lib/smartystreets_ruby_sdk/international_street/changes.rb

Instance Attribute Summary collapse

Attributes inherited from RootLevel

#address1, #address10, #address11, #address12, #address2, #address3, #address4, #address5, #address6, #address7, #address8, #address9, #input_id, #organization

Instance Method Summary collapse

Constructor Details

#initialize(obj) ⇒ Changes

Returns a new instance of Changes.



9
10
11
12
# File 'lib/smartystreets_ruby_sdk/international_street/changes.rb', line 9

def initialize(obj)
  @components = Components.new(obj.fetch('components', {}))
  super(obj)
end

Instance Attribute Details

#componentsObject (readonly)

Returns the value of attribute components.



7
8
9
# File 'lib/smartystreets_ruby_sdk/international_street/changes.rb', line 7

def components
  @components
end