Sha256: cf0c4c9a63287d298b1f820731c762343fd735047a8d8ec6d79fda1774ece73e

Contents?: true

Size: 488 Bytes

Versions: 8

Compression:

Stored size: 488 Bytes

Contents

require 'active_support/core_ext/string/inflections'
require 'siebel_donations/base'

Dir[File.dirname(__FILE__) + '/siebel_donations/*.rb'].each do |file|
  require file
end

module SiebelDonations
  class << self
    attr_accessor :base_url, :oauth_token, :default_timeout

    def configure
      yield self
    end

    def base_url
      @base_url ||= "http://hart-a321.net.ccci.org:9980/wsapi/rest"
    end

    def default_timeout
      @default_timeout || 6000
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
siebel_donations-1.0.9 lib/siebel_donations.rb
siebel_donations-1.0.8 lib/siebel_donations.rb
siebel_donations-1.0.7 lib/siebel_donations.rb
siebel_donations-1.0.6 lib/siebel_donations.rb
siebel_donations-1.0.5 lib/siebel_donations.rb
siebel_donations-1.0.4 lib/siebel_donations.rb
siebel_donations-1.0.3 lib/siebel_donations.rb
siebel_donations-1.0.2 lib/siebel_donations.rb