Sha256: 1680b6674da4607a81db4f879b19ba1cdf5ab4c97d23b0d9589744189448b3d7
Contents?: true
Size: 1.19 KB
Versions: 3
Compression:
Stored size: 1.19 KB
Contents
require 'savon' require 'ratis/closest_stop' require 'ratis/config' require 'ratis/core_ext' require 'ratis/errors' require 'ratis/itinerary' require 'ratis/landmark' require 'ratis/landmark_category' require 'ratis/location' require 'ratis/next_bus' require 'ratis/point_2_point' require 'ratis/point_2_point/group' require 'ratis/point_2_point/routes_only_response' require 'ratis/point_2_point/service' require 'ratis/point_2_point/standard_response' require 'ratis/point_2_point/stop' require 'ratis/point_2_point/trip' require 'ratis/request' require 'ratis/route' require 'ratis/route_stops' require 'ratis/route_stops/stop' require 'ratis/schedule_nearby' require 'ratis/timetable' require 'ratis/timetable/stop' require 'ratis/timetable/trip' require 'ratis/walk' module Ratis extend self def configure yield config end def config @config ||= Config.new end def valid_latitude?(lat) -90.0 <= lat.to_f and lat.to_f <= 90.0 end def valid_longitude?(lon) -180.0 <= lon.to_f and lon.to_f <= 180.0 end def all_conditions_used?(conditions) raise ArgumentError.new("Conditions not used by this class: #{conditions.keys.inspect}") unless conditions.empty? end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ratis-2.5.2.7 | lib/ratis.rb |
ratis-2.5.2.6 | lib/ratis.rb |
ratis-2.5.2.5 | lib/ratis.rb |