class Zype::PlayerClient

Public Class Methods

new(auth_method = 'api_key') click to toggle source
# File lib/zype/client/player_client.rb, line 3
def initialize(auth_method = 'api_key')
  @headers = { 'Content-Type' => 'application/json' }.merge(authentication(auth_method))
  self.class.base_uri Zype.configuration.player_host
end