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