class Ecoportal::API::V2::Page

Constants

ALLOWED_KEYS

Public Instance Methods

as_update() click to toggle source
# File lib/ecoportal/api/v2/page.rb, line 22
def as_update
  super.tap do |hash|
    unless !hash
      hash["data"].select! do |key, value|
        ALLOWED_KEYS.include?(key)
      end
    end
  end
end