Skip to content

Commit

Permalink
Fetch on auth_data call.
Browse files Browse the repository at this point in the history
  • Loading branch information
leanucci committed Dec 6, 2013
1 parent 5123432 commit 7345c8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/bravo/auth_data.rb
Expand Up @@ -34,6 +34,7 @@ def fetch
# @return [Hash]
#
def auth_hash
fetch unless Bravo.constants.include?(:TOKEN) && Bravo.constants.include?(:SIGN)
{ 'Token' => Bravo::TOKEN, 'Sign' => Bravo::SIGN, 'Cuit' => Bravo.cuit }
end

Expand Down

0 comments on commit 7345c8d

Please sign in to comment.