cartodb-4.42/services/platform-limits/spec/doubles/user.rb
2024-04-06 05:25:13 +00:00

15 lines
345 B
Ruby

module CartoDB
module PlatformLimits
module Doubles
class User
def initialize(attributes={})
@username = attributes.fetch(:username, 'wadus')
@max_import_file_size = attributes.fetch(:max_import_file_size, nil)
end
attr_reader :username, :max_import_file_size
end
end
end
end