lujanfernaud/prevy

View on GitHub
app/models/group_invited_member.rb

Summary

Maintainability
A
0 mins
Test Coverage

Inconsistent indentation detected.
Open

    attr_reader   :invitation
Severity: Minor
Found in app/models/group_invited_member.rb by rubocop

This cops checks for inconsistent indentation.

Example:

class A
  def test
    puts 'hello'
     puts 'world'
  end
end

Inconsistent indentation detected.
Open

    def prepare_user
      user.skip_sample_content = true
      user.confirmation_token  = invitation.token
      user.skip_confirmation_notification!
    end
Severity: Minor
Found in app/models/group_invited_member.rb by rubocop

This cops checks for inconsistent indentation.

Example:

class A
  def test
    puts 'hello'
     puts 'world'
  end
end

Inconsistent indentation detected.
Open

    def add_user_to_group_members
      group = Group.find_by(id: invitation.group.id)
      group.members << user
    end
Severity: Minor
Found in app/models/group_invited_member.rb by rubocop

This cops checks for inconsistent indentation.

Example:

class A
  def test
    puts 'hello'
     puts 'world'
  end
end

Inconsistent indentation detected.
Open

    attr_accessor :user
Severity: Minor
Found in app/models/group_invited_member.rb by rubocop

This cops checks for inconsistent indentation.

Example:

class A
  def test
    puts 'hello'
     puts 'world'
  end
end

There are no issues that match your filters.

Category
Status