<commit_before># Encapsulates a user's indirect membership (through spaces) of an organization.
class Podio::OrganizationMember < ActivePodio::Base
  property :spaces, :hash
  property :profile, :hash
  property :admin, :boolean

  has_one :user, :class => 'User'
  has_one :contact, :class => 'Contact', :property => :profile

  delegate :user_id, :mail, :last_active_on, :to => :user
  delegate :name, :avatar, :title, :organization, :title_and_org, :avatar_url, :to => :contact
  
  class << self
    def find_all_for_org(org_id, options = {})
      list Podio.connection.get { |req|
        req.url("/org/#{org_id}/member/", options)
      }.body
    end
<commit_msg>Delegating default title property on org member<commit_after># Encapsulates a user's indirect membership (through spaces) of an organization.
class Podio::OrganizationMember < ActivePodio::Base
  property :spaces, :hash
  property :profile, :hash
  property :admin, :boolean

  has_one :user, :class => 'User'
  has_one :contact, :class => 'Contact', :property => :profile

  delegate :user_id, :mail, :last_active_on, :to => :user
  delegate :name, :avatar, :title, :organization, :title_and_org, :default_title, :avatar_url, :to => :contact
  
  class << self
    def find_all_for_org(org_id, options = {})
      list Podio.connection.get { |req|
        req.url("/org/#{org_id}/member/", options)
      }.body
    end

{'fraction_non_alphanumeric': 0.13793103448275862, 'fraction_numerical': 0.0, 'mean_word_length': 4.276515151515151, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5700735', 'n_tokens_mistral': 460, 'n_tokens_neox': 449, 'n_words': 127}