class NasaApi::ResponseHandler::TechTransfer

Attributes

count[RW]
page[RW]
perpage[RW]
response[RW]
results[RW]
total[RW]

Public Class Methods

new(response = {}) click to toggle source
# File lib/nasa_api/response_handler.rb, line 128
def initialize(response = {})
  @response = response
  @results = response['results']
  @count = response['count']
  @total = response['total']
  @perpage = response['perpage']
  @page = response['page']
end