Class: SimplePusher::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/simple_pusher/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



6
7
8
9
# File 'lib/simple_pusher/configuration.rb', line 6

def initialize
  @port ||= 8088
  @debug ||= false
end

Instance Attribute Details

#debugObject

Returns the value of attribute debug.



4
5
6
# File 'lib/simple_pusher/configuration.rb', line 4

def debug
  @debug
end

#portObject

Returns the value of attribute port.



3
4
5
# File 'lib/simple_pusher/configuration.rb', line 3

def port
  @port
end