lib/snoo/flair.rb
def select_flair_template template_id, subreddit, opts = {}
      logged_in?
      params = {
        flair_template_id: template_id,
        uh: @modhash,
        r: subreddit,
        api_type: 'json'
      }
      params.merge! opts
      post('/api/selectflair', body: params)
    end
def select_flair_template template_id, subreddit, opts = {}
      logged_in?
      params = {
        flair_template_id: template_id,
        uh: @modhash,
        r: subreddit,
        api_type: 'json'
      }
      params.merge! opts
      post('/api/selectflair', body: params)
    end
Select a flair template and apply it to a user or link

 @param template_id [String] The template id to apply.
 @param subreddit [String] The subreddit targeted.
 @param (see LinksComments#info)
 @option opts [String] :link The link id to apply to
 @option opts [String] :user The username to apply flair to
 @option opts [String] :text The flair text
 @return (see #clear_sessions)