Sha256: 4bdf6b75014dd42b1e177de67ad3b1e011cc5ae87359ba24cdcc272bbb9aa6c6
Contents?: true
Size: 404 Bytes
Versions: 3
Compression:
Stored size: 404 Bytes
Contents
module Flattr module Authenticatable # Credentials hash # # @return [Hash] def credentials { :client_id => client_id, :client_secret => client_secret, :access_token => access_token, } end # Check whether credentials are present # # @return [Boolean] def credentials? !credentials[:access_token].nil? end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
flattr-0.2.3 | lib/flattr/authenticatable.rb |
flattr-0.2.2 | lib/flattr/authenticatable.rb |
flattr-0.2.1 | lib/flattr/authenticatable.rb |