class Firepush::Recipient::Topic

Attributes

topic[R]

Public Class Methods

new(topic) click to toggle source

@param topic [String]

# File lib/firepush/recipient/topic.rb, line 9
def initialize(topic)
  @topic = topic
end

Public Instance Methods

valid?() click to toggle source

@override @return [Boolean]

# File lib/firepush/recipient/topic.rb, line 15
def valid?
  valid_str?(topic)
end
value() click to toggle source

@override @return [String]

# File lib/firepush/recipient/topic.rb, line 21
def value
  topic
end