Class: Svix::SvixOptions

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(debug = false, server_url = nil) ⇒ SvixOptions

Returns a new instance of SvixOptions.



8
9
10
11
# File 'lib/svix/svix.rb', line 8

def initialize(debug = false, server_url = nil)
    @debug=debug
    @server_url=server_url
end

Instance Attribute Details

#debugObject

Returns the value of attribute debug.



5
6
7
# File 'lib/svix/svix.rb', line 5

def debug
  @debug
end

#server_urlObject

Returns the value of attribute server_url.



6
7
8
# File 'lib/svix/svix.rb', line 6

def server_url
  @server_url
end