class Sports::Butler::SoccerApi::Base
Public Instance Methods
error_message(error)
click to toggle source
# File lib/sports/butler/soccer_api/base.rb, line 16 def error_message(error) { message: error }.with_indifferent_access end
method_missing(method, *args, &block)
click to toggle source
# File lib/sports/butler/soccer_api/base.rb, line 8 def method_missing(method, *args, &block) return error_missing_endpoint_method(method) end
not_found_result(*params)
click to toggle source
# File lib/sports/butler/soccer_api/base.rb, line 12 def not_found_result(*params) error_message("#{params.join(', ')} could not be found.") end