Method: Psc::Client#initialize
- Defined in:
- lib/psc/client.rb
#initialize(url, options, &block) ⇒ Client
Create a new client instance. The given url and options will be used to create a Psc::Connection for the client to use; see that class for more details about what is permitted
21 22 23 |
# File 'lib/psc/client.rb', line 21 def initialize(url, , &block) @connection = Psc::Connection.new(url, , &block) end |