lib/kentaa/api/resources/users.rb in kentaa-api-0.6.0 vs lib/kentaa/api/resources/users.rb in kentaa-api-0.7.0
- old
+ new
@@ -3,10 +3,10 @@
module Kentaa
module Api
module Resources
class Users < List
def initialize(config, options = {})
- super(config, options.merge(resource_class: Kentaa::Api::Resources::User, endpoint_path: "/users"))
+ super(config, options.merge(resource_class: Kentaa::Api::Resources::User, endpoint_path: '/users'))
end
def auth(attributes, options = {})
resource = resource_class.new(config, options: options)
resource.load { request.post("#{endpoint_path}/auth", options, attributes) }