cartodb/services/datasources/spec/doubles/data_import.rb

20 lines
376 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +08:00
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