lib/epics/client.rb in epics-1.3.1 vs lib/epics/client.rb in epics-1.4.0
- old
+ new
@@ -121,11 +121,11 @@
def CCT(document)
upload(Epics::CCT, document)
end
- def STA(from, to)
+ def STA(from = nil, to = nil)
download(Epics::STA, from, to)
end
def C52(from, to)
download_and_unzip(Epics::C52, from, to)
@@ -157,10 +157,10 @@
def PTK(from, to)
download(Epics::PTK, from, to)
end
- def HAC(from, to)
+ def HAC(from = nil, to = nil)
download(Epics::HAC, from, to)
end
def save_keys(path)
File.write(path, dump_keys)