Class: Poto::API

Inherits:
Grape::API
  • Object
show all
Defined in:
lib/poto/api.rb

Class Method Summary collapse

Class Method Details

.configure(repository:) ⇒ Object



56
57
58
59
60
# File 'lib/poto/api.rb', line 56

def self.configure(repository:)
  global_setting(:proxy, FileRepository::Proxy.new(repository))

  new
end