Class: LingutestClient::Exam

Inherits:
Base
  • Object
show all
Includes:
Api::Resource
Defined in:
lib/lingutest_client/exam.rb

Constant Summary collapse

OBJECT_NAME =
:exam
FilterSchema =
Dry::Schema.Params do
  config.validate_keys = true
  optional(:page).filled(Types::Coercible::Integer)
  optional(:per_page).filled(Types::Coercible::Integer)

  optional(:locale_eq).filled(Types::Coercible::String)
  optional(:price_gt).filled(Types::Coercible::Integer)
end

Method Summary

Methods included from Api::Resource

included

Methods inherited from Base

#to_hash