module Google::Apis::Core::JsonObjectSupport

Public Class Methods

included(base) click to toggle source
# File lib/google/apis/core/json_representation.rb, line 127
def self.included(base)
  base.extend(ClassMethods)
end

Public Instance Methods

to_json() click to toggle source
# File lib/google/apis/core/json_representation.rb, line 138
def to_json
  representation = self.class.const_get(:Representation)
  representation.new(self).to_json(skip_undefined: true)
end