Sha256: 6fbec9550db87cbd0696ca2689ebbd0090e222fb91554c00a7ddd4a0190ae72d

Contents?: true

Size: 196 Bytes

Versions: 5

Compression:

Stored size: 196 Bytes

Contents

# frozen_string_literal: true

module MyTankInfo
  class NotificationRule < Object
    def contacts
      @attributes.contacts.map { |contact| NotificationContact.new(contact) }
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
my_tank_info-1.1.1 lib/my_tank_info/objects/notification_rule.rb
my_tank_info-1.1.0 lib/my_tank_info/objects/notification_rule.rb
my_tank_info-1.0.2 lib/my_tank_info/objects/notification_rule.rb
my_tank_info-1.0.1 lib/my_tank_info/objects/notification_rule.rb
my_tank_info-1.0.0 lib/my_tank_info/objects/notification_rule.rb