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
|
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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue