class Trello::Organization

Organizations are useful for linking members together.

@!attribute [r] id

@return [String]

@!attribute [r] name

@return [String]

@!attribute [r] display_name

@return [String]

@!attribute [r] description

@return [String]

@!attribute [r] url

@return [String]

@!attribute [r] team_type

@return [String]

@!attribute [r] desc_data

@return [String]

@!attribute [r] logo_hash

@return [String]

@!attribute [r] logo_url

@return [String]

@!attribute [r] power_ups

@return [Array]

@!attribute [r] website

@return [String]

@!attribute [w] google_app_domain

@return [String]

@!attribute [w] google_app_version

@return [String]

@!attribute [w] enable_add_external_members

@return [Boolean]

@!attribute [w] private_board_creation_permission_level

@return [String]

@!attribute [w] organization_visible_board_creation_permission_level

@return [String]

@!attribute [w] public_board_creation_permission_level

@return [String]

@!attribute [w] visibility_level

@return [String]

Public Class Methods

find(id, params = {}) click to toggle source

Find an organization by its id.

# File lib/trello/organization.rb, line 74
def find(id, params = {})
  client.find(:organization, id, params)
end

Public Instance Methods

boards() click to toggle source

Returns a list of boards under this organization.

# File lib/trello/organization.rb, line 80
def boards
  boards = Board.from_response client.get("/organizations/#{id}/boards/all")
  MultiAssociation.new(self, boards).proxy
end
members(params = {}) click to toggle source

Returns an array of members associated with the organization.

# File lib/trello/organization.rb, line 86
def members(params = {})
  members = Member.from_response client.get("/organizations/#{id}/members/all", params)
  MultiAssociation.new(self, members).proxy
end