Class: SmartyStreets::USExtract::Lookup
- Defined in:
- lib/smartystreets_ruby_sdk/us_extract/lookup.rb
Overview
In addition to holding all of the input data for this lookup, this class also will contain the result of the lookup after it comes back from the API.
See “smartystreets.com/docs/cloud/us-extract-api#http-request-input-fields”
Instance Attribute Summary collapse
-
#addresses_have_line_breaks ⇒ Object
Returns the value of attribute addresses_have_line_breaks.
-
#addresses_per_line ⇒ Object
Returns the value of attribute addresses_per_line.
-
#aggressive ⇒ Object
Returns the value of attribute aggressive.
-
#html ⇒ Object
Returns the value of attribute html.
-
#match ⇒ Object
Returns the value of attribute match.
-
#result ⇒ Object
Returns the value of attribute result.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(text = nil, html = nil, aggressive = nil, addresses_have_line_breaks = nil, addresses_per_line = nil, match = nil) ⇒ Lookup
constructor
A new instance of Lookup.
Methods inherited from JSONAble
Constructor Details
#initialize(text = nil, html = nil, aggressive = nil, addresses_have_line_breaks = nil, addresses_per_line = nil, match = nil) ⇒ Lookup
Returns a new instance of Lookup.
12 13 14 15 16 17 18 19 20 |
# File 'lib/smartystreets_ruby_sdk/us_extract/lookup.rb', line 12 def initialize(text=nil, html=nil, aggressive=nil, addresses_have_line_breaks=nil, addresses_per_line=nil, match=nil) @text = text @html = html @aggressive = aggressive @addresses_have_line_breaks = addresses_have_line_breaks @addresses_per_line = addresses_per_line @match = match @result = nil end |
Instance Attribute Details
#addresses_have_line_breaks ⇒ Object
Returns the value of attribute addresses_have_line_breaks.
10 11 12 |
# File 'lib/smartystreets_ruby_sdk/us_extract/lookup.rb', line 10 def addresses_have_line_breaks @addresses_have_line_breaks end |
#addresses_per_line ⇒ Object
Returns the value of attribute addresses_per_line.
10 11 12 |
# File 'lib/smartystreets_ruby_sdk/us_extract/lookup.rb', line 10 def addresses_per_line @addresses_per_line end |
#aggressive ⇒ Object
Returns the value of attribute aggressive.
10 11 12 |
# File 'lib/smartystreets_ruby_sdk/us_extract/lookup.rb', line 10 def aggressive @aggressive end |
#html ⇒ Object
Returns the value of attribute html.
10 11 12 |
# File 'lib/smartystreets_ruby_sdk/us_extract/lookup.rb', line 10 def html @html end |
#match ⇒ Object
Returns the value of attribute match.
10 11 12 |
# File 'lib/smartystreets_ruby_sdk/us_extract/lookup.rb', line 10 def match @match end |
#result ⇒ Object
Returns the value of attribute result.
10 11 12 |
# File 'lib/smartystreets_ruby_sdk/us_extract/lookup.rb', line 10 def result @result end |
#text ⇒ Object
Returns the value of attribute text.
10 11 12 |
# File 'lib/smartystreets_ruby_sdk/us_extract/lookup.rb', line 10 def text @text end |