Class: Fleakr::Objects::Group
- Inherits:
-
Object
- Object
- Fleakr::Objects::Group
- Includes:
- Support::Object
- Defined in:
- lib/fleakr/objects/group.rb
Overview
Group
Accessors
- id
-
This group’s ID
- name
-
The name of the group
Associations
- photos
-
The photos that are in this group
Instance Method Summary collapse
-
#adult? ⇒ Boolean
Is this group adult-only? (e.g. only 18+ allowed to view).
Methods included from Support::Object
Instance Method Details
#adult? ⇒ Boolean
Is this group adult-only? (e.g. only 18+ allowed to view)
30 31 32 |
# File 'lib/fleakr/objects/group.rb', line 30 def adult? (adult_flag == '1') end |