Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 347 Bytes

USAGE.md

File metadata and controls

21 lines (15 loc) · 347 Bytes
require 'plex_ruby_sdk'


s = ::PlexRubySDK::PlexAPI.new
s.config_security(
  ::PlexRubySDK::Shared::Security.new(
    access_token: "<YOUR_API_KEY_HERE>",
  )
)

    
res = s.server.get_server_capabilities()

if ! res.object.nil?
  # handle response
end