Sha256: 2c71fcef31d4c55d45e44df90751ce1c594e20da344a7059499e41afb6a84f6e
Contents?: true
Size: 550 Bytes
Versions: 2
Compression:
Stored size: 550 Bytes
Contents
# typed: strict # frozen_string_literal: true require "nexus/invision/value_object" require "sorbet-runtime" module Nexus module Invision module Resources class LoginLink < T::Struct include ValueObject const :id, Integer class << self extend T::Sig sig { params(response: T::Hash[String, T.untyped]).returns(LoginLink) } def from_response(response) LoginLink.new( id: response["id"], ) end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nexus-invision-1.11.0 | lib/nexus/invision/resources/login_link.rb |
nexus-invision-1.10.2 | lib/nexus/invision/resources/login_link.rb |