cartodb-4.42/services/platform-limits/spec/doubles/user.rb

15 lines
345 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +08:00
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