lib/contentful/management/user.rb in contentful-management-2.2.2 vs lib/contentful/management/user.rb in contentful-management-2.3.0
- old
+ new
@@ -17,10 +17,10 @@
property :confirmed, :boolean
property :signInCount, :integer
# @private
def self.build_endpoint(endpoint_options)
- endpoint = '/users'
+ endpoint = 'users'
endpoint = "#{endpoint}/#{endpoint_options[:resource_id]}" if endpoint_options[:resource_id]
endpoint
end
end
end