Sha256: d87a919edf917903d89df5b354c813d755e68c25fc9c1f7ecd0b0de77165ff2b

Contents?: true

Size: 496 Bytes

Versions: 2

Compression:

Stored size: 496 Bytes

Contents

require 'jikan/models/entity'

module Jikan
  class UserUpdate < BaseEntity
    
    def username
      raw['username']
    end

    def url
      raw['url']
    end

    def image_url
      raw['image_url']
    end

    def score
      raw['score']
    end

    def status
      raw['status']
    end

    def eps_seen
      raw['episodes_seen']
    end

    def eps_total
      raw['episodes_total']
    end

    def date
      raw['date']
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jikan.rb-0.0.7 lib/jikan/models/userupdate.rb
jikan.rb-0.0.6 lib/jikan/models/userupdate.rb