File: schema.rb

package info (click to toggle)
ruby-app-store-connect 0.38.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 516 kB
  • sloc: ruby: 1,193; makefile: 4
file content (25 lines) | stat: -rw-r--r-- 434 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# frozen_string_literal: true

module AppStoreConnect
  class Specification
    module Component
      class Schema
        def initialize(declaration)
          @declaration = declaration
        end

        def properties
          @declaration['properties']
        end

        def required
          @declaration['required']
        end

        def title
          @declaration['title']
        end
      end
    end
  end
end