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 end end end