Using the ruby-trello gem, how can I determine whether an organization is public or not?
问题 This question was prompted by this one: Using the ruby-trello gem, how can I determine whether a board is public or not? In the Trello API, I see both boards and organizations offer a prefs object with a permissionLevel values. However, it appears the gem only returns these prefs values for the board: > board = Trello::Member.find('me').boards.first > board.prefs['permissionLevel'] => "org" > org = Trello::Member.find('me').organizations.first > org.prefs['permissionLevel'] Traceback (most