Sha256: 0449f372bf954dd0506031b41835f7e42158a38c95d2c9b2723cc0d52205c01d

Contents?: true

Size: 633 Bytes

Versions: 3

Compression:

Stored size: 633 Bytes

Contents

# frozen_string_literal: true

module Kentaa
  module Api
    module Resources
      class Address < Resource
        def address
          data[:address]
        end

        def address2
          data[:address2]
        end

        def street
          data[:street]
        end

        def house_number
          data[:house_number]
        end

        def house_number_addition
          data[:house_number_addition]
        end

        def zipcode
          data[:zipcode]
        end

        def city
          data[:city]
        end

        def country
          data[:country]
        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/address.rb
kentaa-api-0.3.1 lib/kentaa/api/resources/address.rb
kentaa-api-0.3.0 lib/kentaa/api/resources/address.rb