class ZiptasticApi::Response

Attributes

city[RW]
country[RW]
postal_code[RW]
state[RW]
state_short[RW]

Public Class Methods

new(attrs) click to toggle source
# File lib/ziptastic_api/response.rb, line 5
def initialize(attrs)
  attrs.each do |name, value|
    instance_variable_set "@#{name}", value
  end
end