Class: SchemaDotOrg::Offer
- Inherits:
-
SchemaType
- Object
- SchemaType
- SchemaDotOrg::Offer
- Defined in:
- app/models/schema_dot_org/offer.rb
Direct Known Subclasses
Constant Summary
Constants inherited from SchemaType
SchemaType::ROOT_ATTR, SchemaType::UNQUALIFIED_CLASS_NAME_REGEX
Instance Attribute Summary collapse
- #priceCurrency ⇒ Object readonly
Attributes inherited from SchemaType
Method Summary
Methods inherited from SchemaType
#_to_json_struct, attribute, #initialize, #to_json, #to_json_ld, #to_json_struct, #to_s, #un_namespaced_classname
Constructor Details
This class inherits a constructor from SchemaDotOrg::SchemaType
Instance Attribute Details
#priceCurrency ⇒ Object (readonly)
20 |
# File 'app/models/schema_dot_org/offer.rb', line 20 validates :priceCurrency, presence: true |