lujanfernaud/prevy

View on GitHub
app/services/sample_invitation_creator.rb

Summary

Maintainability
A
0 mins
Test Coverage

Inconsistent indentation detected.
Open

    attr_reader :group, :quantity

This cops checks for inconsistent indentation.

Example:

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

Inconsistent indentation detected.
Open

    def new_invitation
      date       = CREATION_DATE + rand(ONE_MINUTE..TWENTY_THREE_HOURS)
      first_name = Faker::Name.first_name
      last_name  = Faker::Name.last_name
      full_name  = "#{first_name} #{last_name}"

This cops checks for inconsistent indentation.

Example:

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

Inconsistent indentation detected.
Open

    def build_invitations
      quantity.times do
        @invitations << new_invitation
      end
    end

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