Sha256: 198d363d37460b31713c065ea5a8e436a2e08c51da3d9589d09e09764fd6b683
Contents?: true
Size: 420 Bytes
Versions: 18
Compression:
Stored size: 420 Bytes
Contents
require 'twitter/factory' require 'twitter/geo/point' require 'twitter/geo/polygon' module Twitter class GeoFactory < Twitter::Factory # Instantiates a new geo object # # @param attrs [Hash] # @raise [ArgumentError] Error raised when supplied argument is missing a :type key. # @return [Twitter::Geo] def self.fetch_or_new(attrs={}) super(:type, Twitter::Geo, attrs) end end end
Version data entries
18 entries across 18 versions & 1 rubygems