Sha256: 7f03194563a5e5f7ce491956eb535c00fd68daa0ba28646f4474c946efa88446

Contents?: true

Size: 837 Bytes

Versions: 5

Compression:

Stored size: 837 Bytes

Contents

module Loopiator
  class Configuration
    attr_accessor :host, :port, :path
    attr_accessor :auth_user, :auth_password
    attr_accessor :use_ssl, :timeout
    attr_accessor :username, :password
    attr_accessor :proxy_host, :proxy_port, :proxy_user, :proxy_password
    
    def initialize
      self.host             =   "api.loopia.se"
      self.port             =   443
      self.path             =   "/RPCSERV"
      
      self.auth_user        =   nil
      self.auth_password    =   nil
      
      self.use_ssl          =   true
      self.timeout          =   180
      
      self.username         =   nil
      self.password         =   nil
      
      self.proxy_host       =   nil
      self.proxy_port       =   nil
      self.proxy_user       =   nil
      self.proxy_password   =   nil
    end
        
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
loopiator-0.3.5 lib/loopiator/configuration.rb
loopiator-0.3.4 lib/loopiator/configuration.rb
loopiator-0.3.3 lib/loopiator/configuration.rb
loopiator-0.3.2 lib/loopiator/configuration.rb
loopiator-0.3.1 lib/loopiator/configuration.rb