Make rubocop happy

This commit is contained in:
Sami Samhuri 2026-01-01 18:34:36 -08:00
parent 5b4f47babf
commit 75e22840a6
No known key found for this signature in database
6 changed files with 6 additions and 0 deletions

View file

@ -4,6 +4,7 @@ require 'instapaper/types'
module Instapaper module Instapaper
class Bookmark < Dry::Struct class Bookmark < Dry::Struct
include Types include Types
transform_keys(&:to_sym) transform_keys(&:to_sym)
attribute :type, Types::String attribute :type, Types::String

View file

@ -7,6 +7,7 @@ require 'instapaper/user'
module Instapaper module Instapaper
class BookmarkList < Dry::Struct class BookmarkList < Dry::Struct
include Types include Types
transform_keys(&:to_sym) transform_keys(&:to_sym)
attribute :user, Instapaper::User attribute :user, Instapaper::User

View file

@ -4,6 +4,7 @@ require 'instapaper/types'
module Instapaper module Instapaper
class Credentials < Dry::Struct class Credentials < Dry::Struct
include Types include Types
transform_keys(&:to_sym) transform_keys(&:to_sym)
attribute :oauth_token, Types::String attribute :oauth_token, Types::String

View file

@ -4,6 +4,7 @@ require 'instapaper/types'
module Instapaper module Instapaper
class Folder < Dry::Struct class Folder < Dry::Struct
include Types include Types
transform_keys(&:to_sym) transform_keys(&:to_sym)
attribute :title, Types::String attribute :title, Types::String

View file

@ -4,6 +4,7 @@ require 'instapaper/types'
module Instapaper module Instapaper
class Highlight < Dry::Struct class Highlight < Dry::Struct
include Types include Types
transform_keys(&:to_sym) transform_keys(&:to_sym)
attribute :type, Types::String attribute :type, Types::String

View file

@ -4,6 +4,7 @@ require 'instapaper/types'
module Instapaper module Instapaper
class User < Dry::Struct class User < Dry::Struct
include Types include Types
transform_keys(&:to_sym) transform_keys(&:to_sym)
attribute :username, Types::String attribute :username, Types::String