class PlanethosterApi::ApiInterface

Public Class Methods

new(api_user, api_key) click to toggle source
# File lib/planethoster_api/api_interface.rb, line 7
def initialize(api_user, api_key)
  @api_client = ApiClient.new(api_user, api_key)
end

Public Instance Methods

test_connection() click to toggle source
# File lib/planethoster_api/api_interface.rb, line 11
def test_connection
  @api_client.call(
    :get,
    "/reseller-api/test-connection",
    {}
  )
end