Sha256: 3486e0f01a811c45d01c682663f626ec3def906cef83919dd167abd4494896de

Contents?: true

Size: 244 Bytes

Versions: 5

Compression:

Stored size: 244 Bytes

Contents

module Dimelo::CCP
  class CategoryGroup < Dimelo::CCP::API::Model

    attributes :id, :name, :item_name, :multiple, :optional

    alias_method :multiple?, :multiple
    alias_method :optional?, :optional

    has_many :categories

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dimelo_ccp_api-0.5.0 lib/dimelo/ccp/api/model/category_group.rb
dimelo_ccp_api-0.4.4 lib/dimelo/ccp/api/model/category_group.rb
dimelo_ccp_api-0.4.3 lib/dimelo/ccp/api/model/category_group.rb
dimelo_ccp_api-0.4.2 lib/dimelo/ccp/api/model/category_group.rb
dimelo_ccp_api-0.4.1 lib/dimelo/ccp/api/model/category_group.rb