class NexosisApi::ViewData

Class to hold the parsed results of a view data retrieval @since 1.2.0

Attributes

data[RW]

An array of hashes representing the processed data of the view @return [Array of Hash] - one hash per row of data where key = column name

Public Class Methods

new(viewdata_hash) click to toggle source
Calls superclass method
# File lib/nexosis_api/view_data.rb, line 5
def initialize(viewdata_hash)
  @data = viewdata_hash['data']
  super(viewdata_hash.reject { |k| k == 'data' })
end