class T::Struct

Public Instance Methods

wrap_and_serialize() click to toggle source
# File lib/lunchmoney/objects/struct.rb, line 10
def wrap_and_serialize
  { object_name => serialize }
end

Private Instance Methods

object_name() click to toggle source
# File lib/lunchmoney/objects/struct.rb, line 17
def object_name
  T.must(T.must(self.class.name).split("::")[1]).downcase
end