Class: OsuAPI::Model::Base
- Inherits:
-
Object
- Object
- OsuAPI::Model::Base
- Defined in:
- (osu-api 0.1.0) osu-api/model.rb
Overview
Wildcard model
Constant Summary collapse
- MODEL_KEYS =
List of model expected keys. Leaving this blank will treat the model as wildcard.
%i().freeze
Instance Method Summary collapse
-
#initialize(data) ⇒ Base
constructor
Processes model input.
-
#to_obj ⇒ Object?
Only return object if it's a wildcard.
Constructor Details
Instance Method Details
#to_obj ⇒ Object?
Returns only return object if it's a wildcard.