class Bravtroller::Authenticator
Constants
- AUTH_REQUEST_PARAMS
- CLIENT_ID
Public Class Methods
new(host)
click to toggle source
# File lib/bravtroller/authenticator.rb, line 29 def initialize(host) if host.is_a?(String) @bravia_client = Bravtroller::Client.new(host) elsif host.is_a?(Bravtroller::Client) @bravia_client = host else raise "Unsupported type for host: #{host.class}" end end