Class: Starwars::Planet

Inherits:
Base show all
Defined in:
lib/starwars/resources/planet.rb,
lib/starwars.rb

Overview

A Planet resource is a large mass, planet or planetoid in the Star Wars Universe, at the time of 0 ABY.

Constant Summary collapse

RESOURCE_NAME =

Define the source name in the starwars api

'planets'

Constants inherited from Base

Base::BASE_URL, Base::FORMAT

Method Summary

Methods inherited from Base

#==, #created, #edited, fetch, #fetch, fetch_all, #id, #request_attributes, #url

Methods inherited from OpenStruct

#[]