lib/transmission/model/torrent.rb in transmission-rpc-ruby-0.3.1 vs lib/transmission/model/torrent.rb in transmission-rpc-ruby-0.4.0
- old
+ new
@@ -65,9 +65,13 @@
def re_announce!
connector.re_announce_torrent @ids
end
+ def set_location(new_location, move = false)
+ connector.torrent_set_location @ids, location: new_location, move: move
+ end
+
def is_multi?
@ids.size > 1
end
def finished?
\ No newline at end of file