class ONEAccess::DataObject::ProductGroup

Attributes

contributor_org_id[RW]
default?[RW]
description[RW]
id[RW]
is_default[RW]
is_default?[RW]
name[RW]
status[RW]
type[RW]

Public Instance Methods

active?() click to toggle source
# File lib/oneaccess/data_object/product_group.rb, line 23
def active?
  status == ProductGroupStatus::ACTIVE
end
events?() click to toggle source
# File lib/oneaccess/data_object/product_group.rb, line 39
def events?
  type == ProductType::EVENT
end
inactive?() click to toggle source
# File lib/oneaccess/data_object/product_group.rb, line 27
def inactive?
  status == ProductGroupStatus::INACTIVE
end
models?() click to toggle source
# File lib/oneaccess/data_object/product_group.rb, line 43
def models?
  type == ProductType::MODEL
end
private_events?() click to toggle source
# File lib/oneaccess/data_object/product_group.rb, line 35
def private_events?
  type == ProductType::PRIVATE_EVENT
end
research?() click to toggle source
# File lib/oneaccess/data_object/product_group.rb, line 31
def research?
  type == ProductType::RESEARCH
end