Method: RedboothRuby::Client#initialize
- Defined in:
- lib/redbooth-ruby/client.rb
#initialize(session, options = {}) ⇒ Client
Creates an client object using the given Redbooth session. existing account.
19 20 21 22 23 24 |
# File 'lib/redbooth-ruby/client.rb', line 19 def initialize(session, ={}) raise RedboothRuby::AuthenticationError unless session.valid? @session = session @options = self end |