Method: GnipApi::Apis::PowerTrack::Rule#attributes

Defined in:
lib/gnip_api/apis/power_track/rule.rb

#attributesObject

[View source]

16
17
18
19
20
21
# File 'lib/gnip_api/apis/power_track/rule.rb', line 16

def attributes
  attrs = {}
  attrs[:value] = @value if @value
  attrs[:tag] = @tag if @tag
  attrs
end