Method: Fluxiom::Asset#tag
- Defined in:
- lib/fluxapi/asset.rb
#tag(t) ⇒ Object
10 11 12 13 |
# File 'lib/fluxapi/asset.rb', line 10 def tag(t) res = self.class.post_call("/api/assets/#{self.id}/tag", :body => {:tags => t.api_name}) self. = self..to_s + ' ' + t.api_name end |