class Zype::ApiClient
Public Class Methods
new(auth_method = 'api_key')
click to toggle source
# File lib/zype/client/api_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.host end