Module: SparkApi::Response

Included in:
ApiResponse
Defined in:
lib/spark_api/response.rb

Overview

API Response interface

Constant Summary collapse

ATTRIBUTES =
[:code, :message, :results, :success, :pagination, :details, :d, :errors, :sparkql_errors, :request_id]

Instance Method Summary collapse

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/spark_api/response.rb', line 6

def success?
  @success
end