Method: Awis::Models::Base#initialize
- Defined in:
- lib/awis/models/base.rb
#initialize(response) ⇒ Base
Returns a new instance of Base.
8 9 10 11 12 13 14 |
# File 'lib/awis/models/base.rb', line 8 def initialize(response) response_data = loading_response(response) set_xml(response_data) # Need to implement on sub-class setup_data!(response_data) end |