cartodb/services/datasources/spec/doubles/search_tweet.rb
2020-06-15 10:58:47 +08:00

26 lines
482 B
Ruby

module CartoDB
module Datasources
module Doubles
class SearchTweet
attr_accessor :user_id,
:data_import_id,
:service_item_id,
:retrieved_items,
:state
def set_importing_state
@state = 'importing'
end
def set_complete_state
@state = 'complete'
end
def save
self
end
end
end
end
end