Sha256: f301eef5575193bf6589ea83775400814f05a6f5a158809ae8801b57e7c6c831
Contents?: true
Size: 435 Bytes
Versions: 4
Compression:
Stored size: 435 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
twitter-5.1.1 | lib/twitter/geo_factory.rb |
twitter-5.1.0 | lib/twitter/geo_factory.rb |
twitter-5.0.1 | lib/twitter/geo_factory.rb |
twitter-5.0.0 | lib/twitter/geo_factory.rb |