You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
asciinema.org/app/serializers/asciicast_serializer.rb

16 lines
176 B
Ruby

class AsciicastSerializer
def initialize(asciicast)
@asciicast = asciicast
end
def as_json(*)
asciicast.as_json
end
private
attr_reader :asciicast
end