Sha256: a4801bb1111b7e3243d3ce1f2d605b969bf39c08fdada00e1838c52a09785e17

Contents?: true

Size: 766 Bytes

Versions: 4

Compression:

Stored size: 766 Bytes

Contents

# frozen_string_literal: true

module Kentaa
  module Api
    module Resources
      class Billing
        attr_reader :data

        def initialize(data)
          @data = data
        end

        def attn
          data[:attn]
        end

        def street
          data[:street]
        end

        def house_number
          data[:house_number]
        end

        def house_number_addition
          data[:house_number_addition]
        end

        def address
          data[:address]
        end

        def address2
          data[:address2]
        end

        def zipcode
          data[:zipcode]
        end

        def city
          data[:city]
        end

        def country
          data[:country]
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kentaa-api-0.8.0 lib/kentaa/api/resources/billing.rb
kentaa-api-0.7.2 lib/kentaa/api/resources/billing.rb
kentaa-api-0.7.1 lib/kentaa/api/resources/billing.rb
kentaa-api-0.7.0 lib/kentaa/api/resources/billing.rb