Sha256: a50676caa4fcc51d28cb460570029f20f1ec9ab162ca3bfdccbe487d28d4b995

Contents?: true

Size: 425 Bytes

Versions: 2

Compression:

Stored size: 425 Bytes

Contents

module Telegraph
  module Types
    class Page < Base
      attribute :path, String
      attribute :url, String
      attribute :title, String
      attribute :description, String
      attribute :author_name, String
      attribute :author_url, String
      attribute :image_url, String
      attribute :content, Array[Node]
      attribute :views, Integer
      attribute :can_edit, Axiom::Types::Boolean
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
telegraph_api-0.1.1 lib/telegraph/types/page.rb
telegraph_api-0.1.0 lib/telegraph/types/page.rb