Virtus::InstanceMethods::MassAssignment#attributes

Parsed documentation:
View on GitHub
Returns a hash of all publicly accessible attributes

@example
  class User
    include Virtus

    attribute :name, String
    attribute :age,  Integer
  end

  user = User.new(:name => 'John', :age => 28)
  user.attributes  # => { :name => 'John', :age => 28 }

@return [Hash]

@api public
No suggestions.
Please help! Open an issue on GitHub if this assessment is incorrect.