Sha256: 6f524a2094ad92a88bd4464fa917335e523248c9151b246f588a6de6cd66cdec

Contents?: true

Size: 266 Bytes

Versions: 26

Compression:

Stored size: 266 Bytes

Contents

module Torasup
  class Location
    attr_accessor :country_id, :area_code, :area

    def initialize(country_id, area_code)
      @country_id = country_id
      @area = Torasup.area_code(country_id, area_code)
      @area_code = area_code if @area
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
torasup-0.3.3 lib/torasup/location.rb
torasup-0.3.2 lib/torasup/location.rb
torasup-0.3.1 lib/torasup/location.rb
torasup-0.3.0 lib/torasup/location.rb
torasup-0.2.3 lib/torasup/location.rb
torasup-0.2.2 lib/torasup/location.rb
torasup-0.2.1 lib/torasup/location.rb
torasup-0.2.0 lib/torasup/location.rb
torasup-0.1.2 lib/torasup/location.rb
torasup-0.1.1 lib/torasup/location.rb
torasup-0.1.0 lib/torasup/location.rb
torasup-0.0.15 lib/torasup/location.rb
torasup-0.0.14 lib/torasup/location.rb
torasup-0.0.13 lib/torasup/location.rb
torasup-0.0.12 lib/torasup/location.rb
torasup-0.0.11 lib/torasup/location.rb
torasup-0.0.10 lib/torasup/location.rb
torasup-0.0.9 lib/torasup/location.rb
torasup-0.0.8 lib/torasup/location.rb
torasup-0.0.7 lib/torasup/location.rb