Class: DefraRuby::Storm::BaseResponse
- Inherits:
-
Object
- Object
- DefraRuby::Storm::BaseResponse
- Defined in:
- lib/defra_ruby/storm/responses/base_response.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(args) ⇒ BaseResponse
constructor
A new instance of BaseResponse.
Constructor Details
#initialize(args) ⇒ BaseResponse
Returns a new instance of BaseResponse.
8 9 10 11 12 13 14 |
# File 'lib/defra_ruby/storm/responses/base_response.rb', line 8 def initialize(args) args.each do |key, value| next if key == :@xmlns instance_variable_set("@#{key}", value) end end |