Sha256: eb1b8c39359e804f201438c7653a410b07163186f558e15a3c03656cf3c961b2
Contents?: true
Size: 397 Bytes
Versions: 2
Compression:
Stored size: 397 Bytes
Contents
# frozen_string_literal: true require "faraday" require "faraday/retry" require_relative "spreaker/version" require_relative "spreaker/user" require_relative "spreaker/show" require_relative "spreaker/client" require_relative "spreaker/episode" module Spreaker class Error < StandardError; end def me Spreaker::User.new(JSON.parse(@connection.get("/v2/me").body["response"])) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spreaker-0.1.6 | lib/spreaker.rb |
spreaker-0.1.5 | lib/spreaker.rb |