class NasaApi::ResponseHandler::TechPort

Attributes

project[RW]
projects[RW]
response[RW]
totalCount[RW]

Public Class Methods

new(response = {}) click to toggle source
# File lib/nasa_api/response_handler.rb, line 141
def initialize(response = {})
  @response = response
  @totalCount = response['totalCount'] if response['totalCount']
  @project = response['project'] if response['project']
  @projects = response['projects'] if response['projects']
end