Sha256: 1f1cf80bdac77ea27679600f2b129c959531459544d14dd68bb45a6615144e16
Contents?: true
Size: 433 Bytes
Versions: 24
Compression:
Stored size: 433 Bytes
Contents
require 'twitter/factory' require 'twitter/geo/point' require 'twitter/geo/polygon' module Twitter class GeoFactory < Twitter::Factory class << self # Construct a new geo object # # @param attrs [Hash] # @raise [IndexError] Error raised when supplied argument is missing a :type key. # @return [Twitter::Geo] def new(attrs = {}) super(:type, Geo, attrs) end end end end
Version data entries
24 entries across 24 versions & 1 rubygems
Version | Path |
---|---|
twitter-5.4.0 | lib/twitter/geo_factory.rb |
twitter-5.3.1 | lib/twitter/geo_factory.rb |
twitter-5.3.0 | lib/twitter/geo_factory.rb |
twitter-5.2.0 | lib/twitter/geo_factory.rb |