class ThreeTapsAPI::Location

Class for describing the 3taps location in an API-specific way

Attributes

country[RW]

Add more attributes as they are tested

zipcode[RW]

Add more attributes as they are tested

Public Class Methods

new(args) click to toggle source
# File lib/three_taps_api/location.rb, line 7
def initialize(args)
  args.each do |k, v|
    self.send "#{k}=", v if self.class.method_defined? "#{k}"
  end
end