module Riksteatern
Constants
- VERSION
Public Class Methods
account(username, password)
click to toggle source
# File lib/riksteatern.rb, line 27 def account(username, password) configure do |c| c.username = username c.password = password end self end
api()
click to toggle source
# File lib/riksteatern.rb, line 23 def api @api ||= Api.new(config) end
config()
click to toggle source
# File lib/riksteatern.rb, line 19 def config @config ||= Config.new end
configure() { |config| ... }
click to toggle source
# File lib/riksteatern.rb, line 15 def configure(&block) yield(config) end