mirror of
https://github.com/samsonjs/instapaper.git
synced 2026-03-25 08:55:49 +00:00
Make rubocop happy
This commit is contained in:
parent
5b4f47babf
commit
75e22840a6
6 changed files with 6 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ require 'instapaper/types'
|
|||
module Instapaper
|
||||
class Bookmark < Dry::Struct
|
||||
include Types
|
||||
|
||||
transform_keys(&:to_sym)
|
||||
|
||||
attribute :type, Types::String
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ require 'instapaper/user'
|
|||
module Instapaper
|
||||
class BookmarkList < Dry::Struct
|
||||
include Types
|
||||
|
||||
transform_keys(&:to_sym)
|
||||
|
||||
attribute :user, Instapaper::User
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ require 'instapaper/types'
|
|||
module Instapaper
|
||||
class Credentials < Dry::Struct
|
||||
include Types
|
||||
|
||||
transform_keys(&:to_sym)
|
||||
|
||||
attribute :oauth_token, Types::String
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ require 'instapaper/types'
|
|||
module Instapaper
|
||||
class Folder < Dry::Struct
|
||||
include Types
|
||||
|
||||
transform_keys(&:to_sym)
|
||||
|
||||
attribute :title, Types::String
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ require 'instapaper/types'
|
|||
module Instapaper
|
||||
class Highlight < Dry::Struct
|
||||
include Types
|
||||
|
||||
transform_keys(&:to_sym)
|
||||
|
||||
attribute :type, Types::String
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ require 'instapaper/types'
|
|||
module Instapaper
|
||||
class User < Dry::Struct
|
||||
include Types
|
||||
|
||||
transform_keys(&:to_sym)
|
||||
|
||||
attribute :username, Types::String
|
||||
|
|
|
|||
Loading…
Reference in a new issue