Module: Treaty::Info::Rest::DSL::ClassMethods

Defined in:
lib/treaty/info/rest/dsl.rb

Instance Method Summary collapse

Instance Method Details

#infoObject



12
13
14
15
16
17
18
# File 'lib/treaty/info/rest/dsl.rb', line 12

def info
  builder = Builder.build(
    collection_of_versions:
  )

  Result.new(builder)
end

#treaty?Boolean

API: Treaty Web

Returns:

  • (Boolean)


21
22
23
# File 'lib/treaty/info/rest/dsl.rb', line 21

def treaty?
  true
end