Sha256: 5f4acd6de4bf0a54e5c8443cf59b0b1db01db5edb81000b0a6f99153bea1f537
Contents?: true
Size: 1.24 KB
Versions: 2
Compression:
Stored size: 1.24 KB
Contents
module Gattica module Settings # Google server to connect to # # You may need to change this if you use a proxy server. However, I have not # tested using a proxy.... YMMV SERVER = 'www.google.com' # Use a secure connection? # # If set to true, Gattica will use SSL_PORT or else it will use NON_SSL_PORT. # # === Example: # +USE_SSL = true+:: # Always use a secure connection USE_SSL = true SSL_PORT = 443 NON_SSL_PORT = 80 # Net::HTTP timeout in seconds # # Increase the timeout setting if you have over 100 profiles. # # === Example: # +TIMEOUT = 300+:: # Increase timeout to 5 minutes. TIMEOUT = 100 DEFAULT_ARGS = { :start_date => nil, :end_date => nil, :dimensions => [], :metrics => [], :filters => [], :sort => [] } DEFAULT_OPTIONS = { :email => nil, # eg: 'email@gmail.com' :password => nil, # eg: '$up3r_$ekret' :token => nil, :profile_id => nil, :debug => false, :headers => {}, :logger => Logger.new(STDOUT) } FILTER_METRIC_OPERATORS = %w{ == != > < >= <= } FILTER_DIMENSION_OPERATORS = %w{ == != =~ !~ =@ ~@ } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
betapond-gattica-0.5.2 | lib/gattica/settings.rb |
betapond-gattica-0.5.1 | lib/gattica/settings.rb |