module MatrixSdk::Response::Extensions

Attributes

api[R]

Public Instance Methods

method_missing(name, *args) click to toggle source
Calls superclass method
# File lib/matrix_sdk/response.rb, line 54
def method_missing(name, *args)
  return fetch(name) if key?(name) && args.empty?

  super
end
respond_to_missing?(name, *_args) click to toggle source
Calls superclass method
# File lib/matrix_sdk/response.rb, line 48
def respond_to_missing?(name, *_args)
  return true if key? name

  super
end