Sha256: d271a7f4c097f0ae6702a6bb487d816f1cc40a1da291da38b5603b76ea7d74a0

Contents?: true

Size: 380 Bytes

Versions: 2

Compression:

Stored size: 380 Bytes

Contents

require "gratitude/connection"
require "gratitude/tips"

module Gratitude
  class Client
    include Gratitude::Connection
    include Gratitude::Client::Tips

    attr_reader :username, :api_key

    def initialize(options = {})
      @username = options[:username]
      @api_key = options[:api_key]
      faraday.basic_auth(api_key, "")
    end

  end # Payday
end # Gratitude

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gratitude-0.0.12 lib/gratitude/client.rb
gratitude-0.0.11 lib/gratitude/client.rb