cartodb-4.42/services/datasources/spec/doubles/data_import.rb
2024-04-06 05:25:13 +00:00

20 lines
376 B
Ruby

module CartoDB
module Datasources
module Doubles
class DataImport
attr_accessor :id,
:service_item_id
def initialize(attrs = {})
@id = attrs.fetch(:id, '123456')
@service_item_id = attrs.fetch(:service_item_id, '67890')
end
def save
self
end
end
end
end
end