```ruby
require 'logger'

module Freshdesk
  class App
    attr_accessor :url, :username, :password, :ssl

    def initialize(url, username, password = 'X', ssl = false)
      @url = url
      @username = username
      @password = password
      @ssl = true
    end

    def client
      RestClient.log = Logger.new($stdout)
      @resource ||= RestClient::Resource.new("http#{ssl ? '' : 's'}://#{username}:#{password}@#{url}")
    end

    def User
      @user ||= begin
                  User.app = self
                  User
                end
    end
  end
end
```

Fix ssl being true always
user
```ruby
require 'logger'

module Freshdesk
  class App
    attr_accessor :url, :username, :password, :ssl

    def initialize(url, username, password = 'X', ssl = false)
      @url = url
      @username = username
      @password = password
      @ssl = ssl
    end

    def client
      RestClient.log = Logger.new($stdout)
      @client ||= RestClient::Resource.new("http#{ssl ? '' : 's'}://#{username}:#{password}@#{url}")
    end

    def User
      @user ||= begin
                  User.app = self
                  User
                end
    end
  end
end
```
assistant