Class: Ogc::WebFeatureService::GetFeature

Inherits:
Base
  • Object
show all
Defined in:
lib/ogc/web_feature_service/get_feature.rb

Constant Summary

Constants inherited from Base

Base::DEFAULT_PARAMS

Instance Attribute Summary

Attributes inherited from Base

#params, #response, #url

Instance Method Summary collapse

Methods inherited from Base

#http, #initialize, #post, request_name

Constructor Details

This class inherits a constructor from Ogc::WebFeatureService::Base

Instance Method Details

#get(type_name, extra_params = {}, &block) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/ogc/web_feature_service/get_feature.rb', line 4

def get(type_name, extra_params = {}, &block)
  params = {
    'request'  => self.class.request_name,
    'typeName' => type_name
  }.merge!(extra_params)

  super(params, &block)
end