Class: Admitad::Currencies::Currency

Inherits:
Success show all
Defined in:
lib/admitad/models/currencies_response.rb

Class Method Summary collapse

Methods inherited from Result

create, #error?, #success?

Class Method Details

.allObject



14
15
16
# File 'lib/admitad/models/currencies_response.rb', line 14

def all
  where
end

.where(**params) ⇒ Object



10
11
12
# File 'lib/admitad/models/currencies_response.rb', line 10

def where(**params)
  Response.create(Wrapper.currencies(params))
end