module Tito
  class Base < JsonApiClient::Resource
    # set the api base url in an abstract base class
    # self.site = "https://api.tito.io/v2"
    self.site = "http://api.tito.dev/v2"
  end
end
module Tito
  class Base < JsonApiClient::Resource
    self.site = ENV['TITO_SITE'] || "https://api.tito.io/v2"
  end
end
Allow setting the site via ENV var
Allow setting the site via ENV var
