Sha256: bada1e6f1fb793d59bd7f120ee7d2d67d03e4802f5570fc4e51c539468fe5dc1

Contents?: true

Size: 579 Bytes

Versions: 3

Compression:

Stored size: 579 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, :default_retry_count

    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

    def default_retry_count
      @default_retry_count || 2
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
siebel_donations-1.0.15 lib/siebel_donations.rb
siebel_donations-1.0.14 lib/siebel_donations.rb
siebel_donations-1.0.13 lib/siebel_donations.rb