Sha256: 45cca93d34a17deb36239321d838b032105bc774ab1e3895ec5b006f763595c1

Contents?: true

Size: 580 Bytes

Versions: 3

Compression:

Stored size: 580 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 || 20
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
siebel_donations-1.0.12 lib/siebel_donations.rb
siebel_donations-1.0.11 lib/siebel_donations.rb
siebel_donations-1.0.10 lib/siebel_donations.rb