Class: SmartyStreets::USExtract::Metadata

Inherits:
Object
  • Object
show all
Defined in:
lib/smartystreets_ruby_sdk/us_extract/metadata.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(obj) ⇒ Metadata

Returns a new instance of Metadata.



7
8
9
10
11
12
13
14
# File 'lib/smartystreets_ruby_sdk/us_extract/metadata.rb', line 7

def initialize(obj)
  @lines = obj['lines']
  @unicode = obj['unicode']
  @address_count = obj['address_count']
  @verified_count = obj['verified_count']
  @bytes = obj['bytes']
  @character_count = obj['character_count']
end

Instance Attribute Details

#address_countObject (readonly)

Returns the value of attribute address_count.



5
6
7
# File 'lib/smartystreets_ruby_sdk/us_extract/metadata.rb', line 5

def address_count
  @address_count
end

#bytesObject (readonly)

Returns the value of attribute bytes.



5
6
7
# File 'lib/smartystreets_ruby_sdk/us_extract/metadata.rb', line 5

def bytes
  @bytes
end

#character_countObject (readonly)

Returns the value of attribute character_count.



5
6
7
# File 'lib/smartystreets_ruby_sdk/us_extract/metadata.rb', line 5

def character_count
  @character_count
end

#linesObject (readonly)

Returns the value of attribute lines.



5
6
7
# File 'lib/smartystreets_ruby_sdk/us_extract/metadata.rb', line 5

def lines
  @lines
end

#unicodeObject (readonly)

Returns the value of attribute unicode.



5
6
7
# File 'lib/smartystreets_ruby_sdk/us_extract/metadata.rb', line 5

def unicode
  @unicode
end

#verified_countObject (readonly)

Returns the value of attribute verified_count.



5
6
7
# File 'lib/smartystreets_ruby_sdk/us_extract/metadata.rb', line 5

def verified_count
  @verified_count
end