Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
getfitter / lib / get_fitter / api.rb
Size: Mime:
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