Module: Fuser::Endpoint

Defined in:
lib/fuser/endpoint.rb

Class Method Summary collapse

Class Method Details

.for(action) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/fuser/endpoint.rb', line 5

def self.for(action)
  I18n.t(
    action,
    api_key: Fuser.configuration.api_key,
    scope: i[fuser endpoints]
  )
end