lib/openactive/models/schema/employee_role.rb in openactive-0.3.0 vs lib/openactive/models/schema/employee_role.rb in openactive-0.4.0

- old
+ new

@@ -6,21 +6,21 @@ # @return [String] def type "schema:EmployeeRole" end - # @return [String] - define_property :salary_currency, as: "salaryCurrency", types: [ - "string", - ] - - # @return [BigDecimal,OpenActive::Models::Schema::PriceSpecification,OpenActive::Models::Schema::MonetaryAmount,URI,nil] + # @return [OpenActive::Models::Schema::MonetaryAmount,OpenActive::Models::Schema::PriceSpecification,BigDecimal,URI,nil] define_property :base_salary, as: "baseSalary", types: [ - "Number", - "OpenActive::Models::Schema::PriceSpecification", "OpenActive::Models::Schema::MonetaryAmount", + "OpenActive::Models::Schema::PriceSpecification", + "Number", "URI", "null", + ] + + # @return [String] + define_property :salary_currency, as: "salaryCurrency", types: [ + "string", ] end end end end