Class: Form1095Policy

Inherits:
Struct
  • Object
show all
Defined in:
app/policies/form1095_policy.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#form1095Object

Returns the value of attribute form1095

Returns:

  • (Object)

    the current value of form1095



3
4
5
# File 'app/policies/form1095_policy.rb', line 3

def form1095
  @form1095
end

#userObject

Returns the value of attribute user

Returns:

  • (Object)

    the current value of user



3
4
5
# File 'app/policies/form1095_policy.rb', line 3

def user
  @user
end

Instance Method Details

#access?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'app/policies/form1095_policy.rb', line 4

def access?
  user.present? && user.loa3? && user.icn.present?
end