class GeosparqlToGeojson::GeoJson

GeoJSON object

@since 0.1.0

Attributes

geojson[R]

Public Class Methods

new(geojson_string) click to toggle source
# File lib/geosparql_to_geojson/geojson.rb, line 12
def initialize(geojson_string)
  @geojson = geojson_string
end

Public Instance Methods

validate() click to toggle source

Creates new instance of GeosparqlToGeojson::GeojsonValidator

@return [GeosparqlToGeojson::GeojsonValidator]

# File lib/geosparql_to_geojson/geojson.rb, line 19
def validate
  GeosparqlToGeojson::GeojsonValidator.new(geojson)
end