class NexosisApi::DatasetJoinTarget
Specifies the name of a dataset to use as the join datasource @see docs.nexosis.com/guides/views @since 1.2.3
Attributes
dataset_name[RW]
The name of the dataset that will be participating in the join @return [String] name of the dataset provided for this join
Public Class Methods
new(ds_join_hash)
click to toggle source
# File lib/nexosis_api/dataset_jointarget.rb, line 6 def initialize(ds_join_hash) @dataset_name = ds_join_hash['name'] unless ds_join_hash.nil? end
Public Instance Methods
to_hash()
click to toggle source
provides a custom hash to match api requests
# File lib/nexosis_api/dataset_jointarget.rb, line 15 def to_hash { 'dataSet' => { 'name' => dataset_name } } end