Sha256: de612b2df89f81dd621cdaaba4753b5edc520d304badfdad00b065076460149f

Contents?: true

Size: 428 Bytes

Versions: 3

Compression:

Stored size: 428 Bytes

Contents

# frozen_string_literal: true

module Kentaa
  module Api
    module Resources
      class Location < Resource
        def zip_code
          data[:zip_code]
        end

        def street
          data[:street]
        end

        def city
          data[:city]
        end

        def latitude
          data[:latitude]
        end

        def longitude
          data[:longitude]
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kentaa-api-0.3.2 lib/kentaa/api/resources/location.rb
kentaa-api-0.3.1 lib/kentaa/api/resources/location.rb
kentaa-api-0.3.0 lib/kentaa/api/resources/location.rb