Skip to Content Skip to Search
Methods
D
M
T

Class Public methods

data(*args, test:)

# File app/services/service/email_preparers/member/base_data.rb, line 6
def data(*args, test:)
  content = new(*args)

  if test
    content.test.to_h
  else
    content.to_h
  end
end

Instance Public methods

member_routes()

# File app/services/service/email_preparers/member/base_data.rb, line 17
def member_routes
  ::Member::Engine.routes.url_helpers
end

test()

# File app/services/service/email_preparers/member/base_data.rb, line 25
def test
  @test = true

  self
end

test?()

# File app/services/service/email_preparers/member/base_data.rb, line 31
def test?
  @test
end

to_h()

# File app/services/service/email_preparers/member/base_data.rb, line 21
def to_h
  raise NotImplementedError
end