module Flydata module Api class DataPort < Base def initialize(api_client) @model_name = 'data_port' @url_path = "/#{@model_name.pluralize}" super end def get # currently one user has one data port self.list.first end def redshift_table_list url_path = "#{@url_path}/redshift_table_list" @client.get(url_path) end end end end