Sha256: d34f404e8432c0cbfdf0f3ce26360ec04bc07945bd45bbe0ea4450c688f9e5f3

Contents?: true

Size: 394 Bytes

Versions: 2

Compression:

Stored size: 394 Bytes

Contents

require 'rubyflare/version'
require 'rubyflare/connect'
require 'rubyflare/response'

require 'curb'
require 'json'

module Rubyflare
  class ConnectionError < StandardError
    attr_reader :response
    def initialize(message, response)
      super(message)
      @response = response
    end
  end

  def self.connect_with(email, api_key)
    Rubyflare::Connect.new(email, api_key)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubyflare-0.2.0 lib/rubyflare.rb
rubyflare-0.1.0 lib/rubyflare.rb