module Google::Apis::Core::JsonObjectSupport
Public Class Methods
Source
# File lib/google/apis/core/json_representation.rb, line 135 def self.included(base) base.extend(ClassMethods) end
Public Instance Methods
Source
# File lib/google/apis/core/json_representation.rb, line 146 def to_json(*a) representation = self.class.const_get(:Representation) representation.new(self).to_hash(user_options: { skip_undefined: true }).to_json(*a) end