class Supercamp::Criteria::Detail

Public Instance Methods

contract_code(type) click to toggle source

“contractCode” is a syonym for contractID, which is what is returned by the Campground Search API. It specifies the jurisdiction for the campground.

This parameter must be used in conjuction with parkId

# File lib/supercamp/criteria/detail.rb, line 12
def contract_code(type)
  merge_option("contractCode", type)
  self
end
id(val) click to toggle source

“parkId” is a synonym for “facilityID”, which is returned by the Campground Search API.

It is a unique identifier for the campground.

# File lib/supercamp/criteria/detail.rb, line 23
def id(val)
  merge_option("parkId", val)
  self
end