Class: Svix::SvixOptions
- Inherits:
-
Object
- Object
- Svix::SvixOptions
- Defined in:
- lib/svix/svix.rb
Instance Attribute Summary collapse
-
#debug ⇒ Object
Returns the value of attribute debug.
-
#server_url ⇒ Object
Returns the value of attribute server_url.
Instance Method Summary collapse
-
#initialize(debug = false, server_url = nil) ⇒ SvixOptions
constructor
A new instance of SvixOptions.
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
#debug ⇒ Object
Returns the value of attribute debug.
5 6 7 |
# File 'lib/svix/svix.rb', line 5 def debug @debug end |
#server_url ⇒ Object
Returns the value of attribute server_url.
6 7 8 |
# File 'lib/svix/svix.rb', line 6 def server_url @server_url end |