cartodb-4.42/services/datasources/spec/doubles/organization.rb

18 lines
338 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +08:00
module CartoDB
module Datasources
module Doubles
class Organization
attr_accessor :twitter_datasource_enabled
def initialize(attrs = {})
@twitter_datasource_enabled = attrs.fetch(:twitter_datasource_enabled, true)
end
def save
self
end
end
end
end
end