module Mako
  class Base < Service::Base
    self.service_endpoint = Settings.mako.endpoint

    include Code::Justin::Tv::Commerce::Mako

    def self.client
      @client ||= MakoClient.new(connection)
    end

    def self.dashboard_client
      @dashboard_client ||= Code::Justin::Tv::Commerce::Mako::Dashboard::MakoClient.new(connection)
    end
  end
end
