# frozen_string_literal: true require 'addressable/uri' require 'faraday' module Spearly module Auth class OauthUser attr_reader :data def initialize(data) @data = data end def method_missing(name, *_args) @data[name.to_s] end def to_json(*_args) @data.to_json end def as_json @data.as_json end end end end