Module: MageHandUser

Includes:
MageHand
Defined in:
lib/mage-hand-user.rb

Instance Method Summary collapse

Methods included from MageHand

get_client, set_app_keys

Instance Method Details

#obsidian_portalObject



11
12
13
14
# File 'lib/mage-hand-user.rb', line 11

def obsidian_portal
  @obsidian_portal ||= MageHand.get_client(nil, access_token_key, 
    access_token_secret)
end

#save_op_tokens(access_token_key, access_token_secret) ⇒ Object



4
5
6
7
8
9
# File 'lib/mage-hand-user.rb', line 4

def save_op_tokens(access_token_key, access_token_secret)
  self.access_token_key = access_token_key
  self.access_token_secret = access_token_secret
  
  save!
end