Module: SpacexApi::Client::Landpads

Included in:
SpacexApi::Client
Defined in:
lib/spacex_api/client/landpads.rb

Instance Method Summary collapse

Instance Method Details

#get_landpad(id) ⇒ Object



10
11
12
# File 'lib/spacex_api/client/landpads.rb', line 10

def get_landpad(id)
  get("landpads/#{id}")
end

#landpadsObject



6
7
8
# File 'lib/spacex_api/client/landpads.rb', line 6

def landpads
  get("landpads")
end

#query_landpads(body = nil) ⇒ Object



14
15
16
# File 'lib/spacex_api/client/landpads.rb', line 14

def query_landpads(body = nil)
  post("landpads/query", body)
end