Module: MoexIss::Hendler
- Included in:
- Client
- Defined in:
- lib/moex_iss/hendler.rb
Instance Method Summary collapse
Instance Method Details
#handle_response(response) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/moex_iss/hendler.rb', line 5 def handle_response(response) return standard_hendler(response) if standard_schema?(response) return history_hendler(response) if history_schema?(response) fail MoexIss::Error::ResponseSchemaError, "Неизвестная схема ответа" end |