Initializes a new place
@param attrs [Hash] @raise [ArgumentError] Error raised when supplied argument is missing a :woeid key. @return [Twitter::Place]
# File lib/twitter/place.rb, line 19 def initialize(attrs = {}) attrs[:id] ||= attrs.fetch(:woeid) super end
@return [String]
# File lib/twitter/place.rb, line 25 def country_code @attrs[:country_code] || @attrs[:countryCode] # rubocop:disable SymbolName end
Generated with the Darkfish Rdoc Generator 2.