lib/ecoportal/api/v1.rb in ecoportal-api-0.9.7 vs lib/ecoportal/api/v1.rb in ecoportal-api-0.10.0
- old
+ new
@@ -4,12 +4,13 @@
# @attr_reader logger [Logger] the logger.
class V1
extend Common::BaseClass
include Common::Logging
- VERSION = "v1"
- class_resolver :people_class, "Ecoportal::API::V1::People"
- class_resolver :person_schemas_class, "Ecoportal::API::V1::PersonSchemas"
+ VERSION = "v1".freeze
+
+ class_resolver :people_class, "Ecoportal::API::V1::People"
+ class_resolver :person_schemas_class, "Ecoportal::API::V1::PersonSchemas"
attr_reader :client, :logger
# Creates an `V1` object to scope version specific api requests.
# @note