class Faraday::Env

def []=(key, value)

Parameters:
  • value (Object) --
  • key (Object) --
def []=(key, value)
  if key == :body
    super(current_body, value)
    return
  end
  if in_member_set?(key)
    super(key, value)
  else
    custom_members[key] = value
  end
end