Module: BetfairApiNgRails::Api::Http::Helpers::InformationResponse
- Included in:
- Responser
- Defined in:
- lib/betfair_api_ng_rails/api/http/helpers/information_response.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/betfair_api_ng_rails/api/http/helpers/information_response.rb', line 6 def self.included(base) base.send :class_eval, <<-CODE def has_error_with_info_response? has_error_without_info_response? || info_response_error? end alias_method :has_error_without_info_response?, :has_error? alias_method :has_error?, :has_error_with_info_response? CODE end |
Instance Method Details
#api_result ⇒ Object
16 17 18 |
# File 'lib/betfair_api_ng_rails/api/http/helpers/information_response.rb', line 16 def api_result result['result'] end |