def create_collaboration(email, role=:viewer)
      RubyBox::Collaboration.new(@session, {
          'item' => {'id' => id, 'type' => type},
          'accessible_by' => {'login' => email},
          'role' => role.to_s
      }).create
    end
def create_collaboration(email, role=:viewer)
      RubyBox::Collaboration.new(@session, {
          'item' => {'id' => id, 'type' => type},
          'accessible_by' => {'login' => email},
          'role' => role.to_s
      }).create
    end
see http://developers.box.com/docs/#collaborations-collaboration-object
 for a list of valid roles.