Class: PetstoreApiClient::Models::Category

Inherits:
NamedEntity show all
Defined in:
lib/petstore_api_client/models/category.rb

Overview

Category model - represents a pet category Inherits all behavior from NamedEntity (id + name)

Refactored to eliminate 100% duplication with Tag model by inheriting from shared NamedEntity base class

Method Summary

Methods inherited from NamedEntity

from_response, #to_h

Methods inherited from Base

from_response, #to_h