Sha256: 7a1a627b064a9d8414e5625da4581ba867677150ef9fd5e3e939a7f89b7c55b2
Contents?: true
Size: 1.3 KB
Versions: 2
Compression:
Stored size: 1.3 KB
Contents
module OpenActive module Models module Schema class Rating < ::OpenActive::Models::Schema::Intangible # @!attribute type # @return [String] def type "schema:Rating" end # @return [String] define_property :rating_explanation, as: "ratingExplanation", types: [ "string", ] # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI] define_property :author, as: "author", types: [ "OpenActive::Models::Schema::Person", "OpenActive::Models::Schema::Organization", "URI", ] # @return [BigDecimal,String,nil] define_property :rating_value, as: "ratingValue", types: [ "Number", "string", "null", ] # @return [String] define_property :review_aspect, as: "reviewAspect", types: [ "string", ] # @return [BigDecimal,String,nil] define_property :worst_rating, as: "worstRating", types: [ "Number", "string", "null", ] # @return [BigDecimal,String,nil] define_property :best_rating, as: "bestRating", types: [ "Number", "string", "null", ] end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
openactive-0.5.0 | lib/openactive/models/schema/rating.rb |
openactive-0.4.0 | lib/openactive/models/schema/rating.rb |