Initial commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
module Doubles
|
||||
class Request
|
||||
|
||||
def initialize(attributes={})
|
||||
@host = attributes.fetch(:host, '')
|
||||
@fullpath = attributes.fetch(:fullpath, '')
|
||||
@params = attributes.fetch(:params, {})
|
||||
end
|
||||
|
||||
attr_reader :host, :params, :fullpath
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
module CartoDB
|
||||
module Doubles
|
||||
module Importer2
|
||||
class Result
|
||||
def initialize(attributes={})
|
||||
self.table_name = attributes[:table_name]
|
||||
self.name = attributes[:name]
|
||||
self.support_tables = []
|
||||
end
|
||||
|
||||
attr_accessor :support_tables, :table_name, :name
|
||||
|
||||
def update_support_tables(new_list)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
module CartoDB
|
||||
module Doubles
|
||||
module Visualization
|
||||
class SupportTables
|
||||
def delete_all
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user