Class: SmartyStreets::USExtract::Metadata
- Inherits:
-
Object
- Object
- SmartyStreets::USExtract::Metadata
- Defined in:
- lib/smartystreets_ruby_sdk/us_extract/metadata.rb
Overview
Instance Attribute Summary collapse
-
#address_count ⇒ Object
readonly
Returns the value of attribute address_count.
-
#bytes ⇒ Object
readonly
Returns the value of attribute bytes.
-
#character_count ⇒ Object
readonly
Returns the value of attribute character_count.
-
#lines ⇒ Object
readonly
Returns the value of attribute lines.
-
#unicode ⇒ Object
readonly
Returns the value of attribute unicode.
-
#verified_count ⇒ Object
readonly
Returns the value of attribute verified_count.
Instance Method Summary collapse
-
#initialize(obj) ⇒ Metadata
constructor
A new instance of Metadata.
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_count ⇒ Object (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 |
#bytes ⇒ Object (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_count ⇒ Object (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 |
#lines ⇒ Object (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 |
#unicode ⇒ Object (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_count ⇒ Object (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 |