Repository URL to install this package:
|
Version:
4.0 ▾
|
module GetFitter
# This is the main entrypoint into the client. Configuration and
# authentication are done here ready for the model classes.
class API
# Configure the API client, then authenticate and make available.
def self.configure(&block) # rubocop:disable UnusedMethodArgument
yield configuration if block_given?
end
# The configuration object.
def self.configuration
@configuration ||= Configuration.new
end
end
end