mirror of
https://github.com/onyx-and-iris/obsws-ruby.git
synced 2025-06-30 16:10:24 +01:00
add full request payload to logger. raise OBSWSError if auth enabled but no password provided add example tasks to rake file add logging section to README
26 lines
246 B
Ruby
26 lines
246 B
Ruby
module OBSWS
|
|
module Version
|
|
module_function
|
|
|
|
def major
|
|
0
|
|
end
|
|
|
|
def minor
|
|
1
|
|
end
|
|
|
|
def patch
|
|
2
|
|
end
|
|
|
|
def to_a
|
|
[major, minor, patch]
|
|
end
|
|
|
|
def to_s
|
|
to_a.join(".")
|
|
end
|
|
end
|
|
end
|