Sha256: fe27ca491adff6ddd0ef6f7ee68db9022503bf15c384f611bd8b149f06c3f4dd

Contents?: true

Size: 406 Bytes

Versions: 32

Compression:

Stored size: 406 Bytes

Contents

# frozen_string_literal: true

require 'active_support/concern'

module AppStoreConnect
  module Object
    module Properties
      extend ActiveSupport::Concern

      class_methods do
        def properties
          @properties ||= {}
        end

        def property(name, options = {})
          properties[name] = options

          attr_accessor name.to_sym
        end
      end
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
app_store_connect-0.38.0 lib/app_store_connect/object/properties.rb
app_store_connect-0.37.0 lib/app_store_connect/object/properties.rb
app_store_connect-0.36.0 lib/app_store_connect/object/properties.rb
app_store_connect-0.35.0 lib/app_store_connect/object/properties.rb
app_store_connect-0.34.0 lib/app_store_connect/object/properties.rb
app_store_connect-0.33.0 lib/app_store_connect/object/properties.rb
app_store_connect-0.32.0 lib/app_store_connect/object/properties.rb
app_store_connect-0.30.0 lib/app_store_connect/object/properties.rb
app_store_connect-0.29.0 lib/app_store_connect/object/properties.rb
app_store_connect-0.28.0 lib/app_store_connect/object/properties.rb
app_store_connect-0.27.0 lib/app_store_connect/object/properties.rb
app_store_connect-0.26.0 lib/app_store_connect/object/properties.rb
app_store_connect-0.25.0 lib/app_store_connect/object/properties.rb
app_store_connect-0.23.0 lib/app_store_connect/object/properties.rb
app_store_connect-0.22.0 lib/app_store_connect/object/properties.rb
app_store_connect-0.21.0 lib/app_store_connect/object/properties.rb
app_store_connect-0.20.0 lib/app_store_connect/object/properties.rb
app_store_connect-0.19.0 lib/app_store_connect/object/properties.rb
app_store_connect-0.18.0 lib/app_store_connect/object/properties.rb
app_store_connect-0.17.0 lib/app_store_connect/object/properties.rb