Sha256: fdc3ada37cca5142ee385d828473028e9b8d372bb5fac3fe2ff6c2ce08eb525f

Contents?: true

Size: 691 Bytes

Versions: 3

Compression:

Stored size: 691 Bytes

Contents

module ProfileFieldTypes

  # Organisation Membership Information
  #
  # An organization entry represents the activity of a user in an organization.
  # Such an entry could be:
  #
  #    the user is "Lead Singer" of "the Band XYZ" since "May 2007"
  #
  # Therefore, this profile_field has got a sub-structure.
  #
  #    Organization  <-- label of the parent profile field
  #         |--------- ProfileField:  :label => :from
  #         |--------- ProfileField:  :label => :to
  #         |--------- ProfileField:  :label => :role
  #
  class Organization < ProfileField
    def self.model_name; ProfileField.model_name; end

    has_child_profile_fields :from, :to, :role

  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
your_platform-1.0.1 app/models/profile_field_types/organization.rb
your_platform-1.0.0 app/models/profile_field_types/organization.rb
your_platform-0.0.2 app/models/profile_field_types/organization.rb